3 ms·
> You don't need a DOCTYPE tag? > You don't need a head tag? > You don't need to declare the charset? True, there are many things you don't need for a page to
by digging 2y ago
> You don't need a DOCTYPE tag?
> You don't need a head tag?
> You don't need to declare the charset?
True, there are many things you don't need for a page to be rendered in a typical browser, but that doesn't make them useless. For example, DOCTYPE has exactly one purpose: tell the browser not to treat your page like it was designed for ancient versions of Netscape Navigator or Internet Explorer, with all the "quirks" of their pre-standardization rendering engines.