3 ms·
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
by rimantas 15y ago
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 http://www.w3.org/TR/html-polyglot/#doctype