You know... If I were building a new backwards-incompatible version of HTML...
I'd remove self-closing tags!
Text can always be rendered in a way any given person can perceive it, so everything else should be treated as enhancements.
You know... If I were building a new backwards-incompatible version of HTML...
I'd remove self-closing tags!
Text can always be rendered in a way any given person can perceive it, so everything else should be treated as enhancements.
@alcinnz It's nice to have an abbreviated syntax for "tag with no child", especially for meta, script and link tags, but having these be a property of the elements is confusing (and prevents extensions: we have <picture> now, because <img> couldn't be used for that purpose).
@wizzwizz4 @alcinnz IMO `img`'s child should have been the alt text. That way missing accessibility would look visibly wrong.