https://html.spec.whatwg.org/dev/input.html#the-input-elemen...
https://html.spec.whatwg.org/dev/input.html#the-input-elemen...
<ol>
<li>one
<li>two
</ol>
I think even the final closing ol can be omitted as there are rules to auto close elements when encountering tags that don’t make sense in context.Ambiguity can be a dangerous thing, and not closing HTML tags can be a cause of that in my experience.
There are other terms but I won't list them here.
I've found less ambiguity to be a better thing than not, where possible. Self-closing a tag that can't contain anything is one such example of removing ambiguity for "hobbyists".
Makes no sense.
If one wants to add content to a self-closing element, one has far more problems than we're talking about here.
Yes.
Note that's it's not a syntax error in HTML - because HTML doesn't have syntax errors. The HTML5 spec tried to codify all the weird Postel's law quirks of existing HTML4 parsers, and in this case, tells you how to ignore the extra / if you're a parser. Nothing is a syntax error.
So it's best to not do it altogether. If one thinks they need to be compliant with both HTML and XHTML, I'd bet they have far more problems with the rest of their markup that would fail at such an effort.