HTML Optional Tags
The cluster discusses the validity of omitting closing tags and wrapper elements like <html>, <head>, and <body> in HTML, browser parsing behavior, and compliance with HTML specifications.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Not really liberal - leaving out those tags is perfectly fine according to the specification and all compliant browsers will create the same DOM from it.
HTML has this, yet browsers seem to cope...?
`` in the source :)
HTML allows to omit closing tags for , and others
"No closing tag": nice, I wonder how (non-X) html became so unruly ;)
This and generally other HTML tag codes aren't supported atm. Otherwise, it looks clean I like it :)
This is good for hand-written html but annoying for machine-written html.
What about the standard ...... tags?
That's the weirdest way to format HTML I've ever seen
What if the document has omitted the tag?