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 hn newest 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. load replies (1) 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 HTMLNo different than having a JSX syntax error in React today load replies (1)
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. load replies (1) 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 HTMLNo different than having a JSX syntax error in React today load replies (1)
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. load replies (1)
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 HTMLNo different than having a JSX syntax error in React today load replies (1)
jefftk|3 years ago
niconii|3 years ago
Perhaps they were thinking of XHTML, which did require all tags because it was based on XML.
zerocrates|3 years ago
vmception|3 years ago
No different than having a JSX syntax error in React today