Quote:
Originally Posted by kovidgoyal
No, it doesnt. Only epubcheck thinks it does. No actual epub renderer cares. DOCTYPES are just pointless noise. HTML moved away from them years ago. You should too.
|
HTML5 also still requires them:
Quote:
DOCTYPEs are required for legacy reasons. When omitted, browsers tend to use a different rendering mode that is incompatible with some specifications. Including the DOCTYPE in a document ensures that the browser makes a best-effort attempt at following the relevant specifications.
|
(emphasis mine)