by alwillis · 4y ago · 0 comments
Going from HTML/XHTML to HTML5/XHTML5, several elements were redefined, including <i> and <b>.
It’s nothing new.
Here’s an article from HTML5 Doctor explaining this more than 12 years ago [1]. I hope web developers serious about their craft aren’t just now discovering this.
If you read the spec, it mentions several different uses for <i>, depending on the context. Otherwise, we’d need a different element for each context, bloating the spec by having special purpose elements instead of general ones.
For example, <i> is used for ship names:
<p>They came over on the <i>Mayflower</i>.</p>
It wouldn’t make a lot of sense to have an element just for names of ships in a general purpose markup language like HTML.Turns out, if you look at the Wikipedia article about the Mayflower, the name is marked-up with the <i> element [1].
In general I think many UXs are too shy about using italics.
“Are you sure you want to delete the user you piece of shit?”
Options:
> Yes, you worthless dildosaurus
> No! Stop! I hate you!