Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
goto11
3y ago
0 comments
Save
Share
To be pedantic, html parsing is not lenient, it is unambiguously specified.
0 comments
3 comments · 1 top-level
top
newest
oldest
preseinger
3y ago
· 2 in thread
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
3y 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
3y ago
this is exactly my point
html is not precisely defined
2 more replies
j
/
k
navigate · click thread line to collapse