Quote:
Originally Posted by nabsltd
In this case, <em> is correct.
<em> is a tag with semantic meaning: emphasis. In the examples listed, the author was trying to denote that the word or words were being spoken with emphasis.
<i> should be used when style rules specifically call for italics, like a title of a book, play, or movie, or to denote actual italic text being described (like a sign that a character sees).
If you are reading your book with your eyes, the results of <em> and <i> will often look the same. But, if you are using a proper text-to-speech, it would speak text styled by <em> differently from the same text styled by <i>.
|
If the TTS is any ood, it will read italics properly. <em> is not needed. It should be <i>. <em> was invented to replace <i> when <i> was very mistakenly removed from HTML 5. So <em> doesn't actually need to exist since they allowed <i> back.