3 ms·
> I omit closing tags where allowed. For example you see in the example above that I’ve left both the p tags and the li tags unclosed. The genius of the HTML5
by nicoburns 5y ago
> I omit closing tags where allowed. For example you see in the example above that I’ve left both the p tags and the li tags unclosed.
The genius of the HTML5 spec is that it allows this loose parsing while specifying an unambiguous mapping to the stricter syntax, so semantically this makes no difference at all (unlike the prior situation where different browsers parsed this kind of HTML differently). Of course you need an HTML5 parser rather than an XML parser, but these are common and don't represent a big hurdle in parsing.
There are other bits like namespaces and DTDs that differ.