3 ms·
Nope, HTML(5) is flexible. You could use <!dOcTyPe HtMl> if you feel like getting funky :-)
by Zirro 15y ago
Nope, HTML(5) is flexible. You could use <!dOcTyPe HtMl> if you feel like getting funky :-)
- billpatrianakos 15y agoCool, thank you! So was it just a personal choice in HTML5 BP or was there a reason behind it?
- rimantas 15y agoUppercase 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 http://www.w3.org/TR/html-polyglot/#doctype