Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
bdcravens
11 months ago
|
parent
|
context
|
favorite
| on:
FastHTML – Modern web applications in pure Python
No. It's not in the spec, and in almost 30 years of web development, this might be the first time I've ever seen someone use a closing tag for it.
svieira
11 months ago
[–]
It's also not a tag, but an SGML (?) directive (specifically a
https://en.wikipedia.org/wiki/Document_type_definition
) and so it is in fact invalid to produce a closing tag.
electroly
11 months ago
|
parent
|
next
[–]
HTML5's HTML syntax is no longer SGML-based. It's still invalid but no longer because of anything related to SGML; now it's simply because the HTML5 spec says so.
vdfs
11 months ago
|
parent
|
prev
[–]
https://stackoverflow.com/q/23005510/3896300
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: