drhowarddrfine - 2:36 am on Mar 31, 2013 (gmt 0)
Yes, and the SOLE purpose of a doctype was cause Internet Explorer screwed everything up with quirks. If it weren't for that, you would not need a doctype at all.
This "layout mode switching by doctype" was first proposed for NGLayout in Netscape 5 ~1998, but first implemented in IE5/Mac ~2000. It's now used by all browsers to switch layout mode as I pointed out above.
Yes, that's what I said. The NEW doctype is not case sensitive but anything before this one IS case sensitive.
The HTML doctype declaration is not case sensitive, so either way is fine.