Updated on

What? Optional tags?


"For file size optimization and scannability purposes, consider omitting optional tags. The HTML5 specification defines what tags can be omitted."


HTML5 Specification on optional tags


Hmm.. okay. Nobody wants to read that. Someone please show me an example.



Example  (thanks Google!)


Mind. Blown.


This literally goes against all of the HTML I've written in the past 10 years. It's like someone took the XHTML enthusiasts and lit their bible on fire. No </p> tags! No <head> or <body>?  Blasphemy!


I feel my brain struggling to conform.

Similar Posts