Msg#: 4518382 posted 10:02 pm on Nov 12, 2012 (gmt 0)
To serve web pages on the web, the only thing you should need is this: <!DOCTYPE html>
What you have in the head is most likely unnecessary. The charset should be set in the server and that is only necessary if the page is being saved on the desktop. The second is only to make sure IE stays in its current IE standards mode but that's what the doctype is for. Good browsers, anything but IE, never had a need for it with HTML.
The doctype is one that puts browsers into standards mode and has nothing to do with HTML5 actually.
Side note: Doctypes only exist for IE's sake. IE is the only browser that needs one because, years ago, it started the "quirks mode" problem that other browsers had to become compatible with. The only way to get out of quirks mode was to tell the browser it was following the document type published by the W3C, hence the longer doctypes of days gone by.
Fortunately, browsers today don't actually go to the URL to fetch the doctype so all that was eliminated.