View Single Post
Old 08-10-2023, 10:18 AM   #1679
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,038
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by nabsltd View Post
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.
JSWolf is offline   Reply With Quote