![]() |
#211 | |||||||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
![]() ![]() ![]() ![]() For even more <i> vs. <em> use-cases + differences, see my post: Why did HTML5 make each one have separate uses? Accessibility + Internationalization Billions more people are on the Internet now, and HTML5 had to take into account many more languages + not just having a purely English-/Euro-centric view. * * * Italics and Emphasis are two distinct functions. In English—through a quirk of history—it just so happens to be that emphasis looks the same as italics on the surface. But there are thousands of other languages out there. Many languages don't have italics at all + they handle emphasis completely differently. Here's a few examples I gave in the 2021 topic above: Quote:
They show graphics and examples of different:
That's just one small piece of italics <i> ≠ emphasis <em>. - - - - - Side Note: If you want even more on Asian-language emphasis, see:
If you want to see how Hebrew (+ Cyrillic + Korean/Hangul) handles emphasis, see the fantastic talk:
If you want to learn even more about the history/usage of Italics (which was only invented in the ~1500s): - - - - - Quote:
I'd highly recommend rereading this thread from the beginning, this time with an open mind. Quote:
HTML4 wrongly deprecated <i> + <b>, which was an enormous regression. And that started ~15+ years of the "Replace all <i> -> <em> + <b> -> <strong>" overcorrection. HTML5 fixed that mistake. * * * I know it's information overload, and I recommended MASSIVE amounts of "homework" for you the past few weeks... ![]() But read the 2021 link above + the entirety of this thread (and the original 2017 one too!). Emphasis vs. italics has been described in extreme detail, with dozens of examples + HTML+CSS code samples. And why is this so important to get right? Text-to-Speech + Auto-Translation has gotten huge—and is only getting more popular/better—so tagging your markup properly has become even more important than ever before. - - - - - Side Note: And if you want one more thing to toss on the list, see my multiple in-depth comments in: I described:
And I still stand by my advice at the end of that last post: Quote:
Quote:
See Post #75: Quote:
Text-to-Speech can, and does, treat these differently. And if you're an advanced user, you can also customize the software to create extra noises/dings when hitting certain markup. (So italics can get a "[beep]" and emphasis can get a "[boop]".) How do you think blind web developers read HTML? Last edited by Tex2002ans; 07-20-2022 at 04:37 AM. |
|||||||
![]() |
![]() |
![]() |
#212 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
But I do have to disagree with some of what they say especially the line height section. The optimal line height is no line height and not 120-145%. That way, if the software being used allows us to adjust the line height, we can do it to what we like.
Last edited by JSWolf; 07-20-2022 at 03:56 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#213 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
My favourite pet hate is 'centres around'/'centers around'. You can't centre around, you can only centre on. BBC News gets this wrong all the time. Last edited by bookman156; 07-20-2022 at 01:23 PM. Reason: afterthought |
|
![]() |
![]() |
![]() |
#214 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
By the way, Hitch, much of the bad justification I was talking about in the other thread turns out to be due to the MOBI, the AZW3 is much better justified. Not perfect but it makes me happier about possibly specifying no alignment.
|
![]() |
![]() |
![]() |
#215 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#216 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#217 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
The Calibre-AZW3 is okay. it's not up to the post-PW standards (Publishing Workflow, which means, in short, what happens when you click "save and publish" in KDP), but it's improved, yes. Hitch |
|
![]() |
![]() |
![]() |
#218 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#219 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#220 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#221 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
That's not the point. The point is what are the best practices for ePub 2 & ePub 3.
And if the program reading the book sees <strong>, it could be reading it differently then <b>. So you don't want to do away with <b> and you'd want to only use <strong> where appropriate. |
![]() |
![]() |
![]() |
#222 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#223 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,771
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#224 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#225 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
As I also said before, italic is a form of emphasis, just that it covers different types of emphasis. If something is italic, then it is visually emphasised, even if it is the title of a work. But it would be better to use <cite> for works. There is perhaps a use case for <i> for foreign words, but equally foreign words in English text are naturally emphasised. So overall I don't think anything more than <cite> and <em> are needed, and you have <strong> if you really want to shout. The <i> tag is a relic that people are in indecision over.
|
![]() |
![]() |
![]() |
Tags |
semantic markup |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Span Span Span Sigil cleaning up indesign | blackest | Sigil | 31 | 12-06-2017 10:16 AM |
Span Span Span Span | MULTIVAC | ePub | 7 | 12-06-2014 08:58 AM |
Nested Span? | Turtle91 | ePub | 4 | 05-20-2013 02:47 PM |
span in span: is this problematic? | tbuyus | ePub | 8 | 03-31-2013 08:01 AM |
Remove <br /> together with span, and only span | Razzia | Recipes | 3 | 05-30-2011 06:55 PM |