Re:Reasons to Use HTML5
by Zirro on Thursday November 24, 2011 @12:46PM
(#3274934)
Nope, HTML(5) is flexible. You could use <!dOcTyPe HtMl> if you feel like getting funky :-)
[ Parent
| on HN ]
Re:Reasons to Use HTML5
by billpatrianakos on Thursday November 24, 2011 @01:09PM
(#3274992)
Cool, thank you! So was it just a personal choice in HTML5 BP or was there a reason behind it?
Uppercase DOCTYPE is for XHTML5 (HTML5 XML serialization). Basically XML requires to have DOCTYPE in uppercase and html in lowercase. By writing it this way you will conform to both cases.
See also http://www.w3.org/TR/html-polyglot/#doctype