Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nope, HTML(5) is flexible. You could use <!dOcTyPe HtMl> if you feel like getting funky :-)


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: