I never thought about it, but HTML would still work if closing tags weren’t named: <div><h1>Hello</></>
How would that work? <li/> in the XML sense would create an empty <li> element.
-
-
I was getting ahead of myself. Auto-closing and singleton tags such as <img> and <br> should work. But I wouldn’t want to take the risk.
-
It isn't ambiguous if `</>` is defined to close only tags with required closing. Would mean `<img>` never is affected by `</>`
- 6 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.