top | item 31239347

(no title)

niconii | 3 years ago

Just to clarify, HTML5 didn't introduce this, it's been the case since at least 1993.

https://www.w3.org/MarkUp/HTMLPlus/htmlplus_1.html

discuss

order

jefftk|3 years ago

Before HTML5 it was common to hear things like "technically you don't need it, but it's not to spec so don't do it".

niconii|3 years ago

Well, then they were wrong, because it's always been part of every HTML spec.

Perhaps they were thinking of XHTML, which did require all tags because it was based on XML.

zerocrates|3 years ago

Probably mostly a casualty of that window when people were trying to make XHTML happen, so all the SGML-isms like omitted close tags became verboten.

vmception|3 years ago

Browsers literally would not render with one tiny syntax error/spec-deviation in your HTML

No different than having a JSX syntax error in React today