HTML

One thing I like about XML, and in particular, that XML introduced is —

XML introduced a notation for self-closing (i.e., void) tags.

I.e., the trailing slash

For example:

<img src="..." />

(Note the "/>" at the end of the tag.)

...

From the point of view or someone writing a parser, I liked this convention.

...

I think this would have also been a great UX for custom HTML elements, too. As it would make it so wouldn't have to always include a closing tag.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/reiver/statuses/115277065118408531 on your instance and quote it. (Note that quoting is not supported in Mastodon.)