by troymc · 2y ago · 0 comments
You don't need a DOCTYPE tag?
You don't need a head tag?
You don't need to declare the charset?
The body tag has a "background" attribute?
The HTML "center" tag still works?
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.