Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
goto11
2y ago
0 comments
Share
To be pedantic, html parsing is not lenient, it is unambiguously specified.
0 comments
default
newest
oldest
preseinger
2y ago
if that were true then browsers would refuse to render text/html responses that didn't include a closing </html> tag, i guess
goto11
OP
2y ago
No, because the closing </html> tag can be omitted according to the current HTML spec. See
https://html.spec.whatwg.org/#optional-tags
preseinger
2y ago
this is exactly my point
html is not precisely defined
2 more replies
j
/
k
navigate · click thread line to collapse