Re:The appeal of using plain HTML pages (2019)
by nicoburns on Monday May 02, 2022 @04:20PM
(#31240369)
I believe before html5 they weren't required, but what the parsed DOM tree looked like wasn't clearly defined if they weren't, and in practice different browsers did it differently meaning you could very easily end up with it rendering differently in different browsers. html5 fixed that.
[ Parent
| on HN ]
Re:The appeal of using plain HTML pages (2019)
by anjbe on Tuesday May 03, 2022 @01:16AM
(#31244916)
This is not correct. What you’re describing sounds like how HTML5 standardized parsing of invalid HTML, but that is not the same thing as implicit closing tags, which have have always been valid, correct HTML producing an unambiguous, clearly defined result.
Re:The appeal of using plain HTML pages (2019)
by niconii on Monday May 02, 2022 @04:35PM
(#31240567)
Oh, for sure, actually parsing HTML was awful before HTML5. The spec sometimes diverged from how browsers actually interpreted HTML, and error correction basically boiled down to browsers trying to reverse-engineer each other to figure out how they handled broken HTML. HTML5 was a godsend for actually standardizing all of that.