Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-19-2022, 11:02 PM   #211
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Turtle91 View Post
You are, and have always been (AFAIR), thinking of <i>/<b> <em>/<strong> as purely visual presentations. You consistently ignore other functions - I suppose because they are not functions of your device. No matter how many times people point this out to you, you continue to ignore the non-visual applications of <em>/<strong>...


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:
Originally Posted by Tex2002ans View Post
Auto-Translation

[...]

For example, emphasis in:
  • Arabic
    • extra lines above/below, different fonts, or extra stretched-out lettering.
  • Hebrew
    • bolder, underline, or larger gaps between letters (letter-spacing).
  • Chinese/Japanese/Korean
    • extra dots/symbols around characters.

Imagine you were a Japanese reader, and after an English->Japanese translate, every single word in your book titles had extra emphasis dots placed on it. That's not correct.
If you want more East Asian examples, see the CSS3 specs on "Emphasis Marks".

They show graphics and examples of different:
  • symbols (dots, circles, double-circles, sesame, [...])
  • locations (over/under/left/right)

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:
Originally Posted by JSWolf View Post
So how is <em> and <strong> visually different to <i> and <b>? The answer is there's no difference. <i> shows The Lancet exactly the same as <em>. And as you see in your post and this post, italics are being used and not emphasis.
The difference has been described to you dozens and dozens of times.

I'd highly recommend rereading this thread from the beginning, this time with an open mind.

Quote:
Originally Posted by bookman156 View Post
But when I started in web design it was considered bad practice to use i and b as everyone was moving to em and strong. So that is my habit as yours is for i and b. I wouldn't be surprised if I and b are chucked in the bin again some time.
No.

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:
And just because other people create disastrous documents doesn't mean you have to join them.

Create the cleanest and best dang documents you can, and you'll reap the benefits. I guarantee it!
- - - - -

Quote:
Originally Posted by JSWolf View Post
The last time this issue came up, nobody was able to mention such a program.
Those same exact words were spoken in this same exact thread!

See Post #75:

Quote:
Originally Posted by Tex2002ans View Post
Quote:
Originally Posted by Quoth View Post
I've yet to find ANYTHING that does treat them differently, [...]
Text-to-Speech (JAWS, NVDA).
I've described time and time again:

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.
Tex2002ans is offline   Reply With Quote
Old 07-20-2022, 03:50 AM   #212
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: 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
Quote:
Originally Posted by Hitch View Post
I love Practical Typography!

Hitch
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.
JSWolf is offline   Reply With Quote
Advert
Old 07-20-2022, 12:32 PM   #213
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
Quote:
There is no way that a barrister in 1795 or 1805, etc. would use "begs the question" that way.
That one's often flagged up to use only in a legal context as some tend to misunderstand the meaning. But why wouldn't a barrister then use that phrase? It's from Latin after all. (Or, you mean they wouldn't get it wrong then. No, I guess not.)

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
bookman156 is offline   Reply With Quote
Old 07-20-2022, 12:36 PM   #214
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
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.
bookman156 is offline   Reply With Quote
Old 07-20-2022, 12:46 PM   #215
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
Quote:
And that started ~15+ years of the "Replace all <i> -> <em> + <b> -> <strong>" overcorrection.

HTML5 fixed that mistake.
Yet it is still advised to not use the <b> tag in HTML5.
bookman156 is offline   Reply With Quote
Advert
Old 07-20-2022, 01:04 PM   #216
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
Quote:
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.
Setting line-height doesn't prevent adjustment of that on a Kindle Paperwhite, does it on a Kobo?
bookman156 is offline   Reply With Quote
Old 07-20-2022, 01:22 PM   #217
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
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:
Originally Posted by bookman156 View Post
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.
If I'd focused on what you'd earlier said about MOBI (KF7) versus AZW, KFX, etc. I would have realized what you meant. To be fair to Amazon, the typography under ET is really quite good--remarkable, when you and I think about what goes into it.

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
Hitch is offline   Reply With Quote
Old 07-20-2022, 02:02 PM   #218
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: 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
Quote:
Originally Posted by bookman156 View Post
Yet it is still advised to not use the <b> tag in HTML5.
Forget what's said about hTML5. What's said about ePub 2 and ePub 3?
JSWolf is offline   Reply With Quote
Old 07-20-2022, 02:03 PM   #219
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: 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
Quote:
Originally Posted by bookman156 View Post
Setting line-height doesn't prevent adjustment of that on a Kindle Paperwhite, does it on a Kobo?
It can yes.
JSWolf is offline   Reply With Quote
Old 07-20-2022, 02:10 PM   #220
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
Quote:
Forget what's said about hTML5. What's said about ePub 2 and ePub 3?
EPUB3 uses HTML5.
bookman156 is offline   Reply With Quote
Old 07-20-2022, 02:21 PM   #221
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: 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
Quote:
Originally Posted by bookman156 View Post
EPUB3 uses HTML5.
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.
JSWolf is offline   Reply With Quote
Old 07-20-2022, 02:25 PM   #222
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
Quote:
And if the program reading the book sees <strong>, it could be reading it differently then <b>.
I always specify how <strong> and <em> should be rendered in the CSS. As I said before, I only use bold in h tags, so specify that there.
bookman156 is offline   Reply With Quote
Old 07-20-2022, 02:28 PM   #223
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: 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
Quote:
Originally Posted by bookman156 View Post
I always specify how <strong> and <em> should be rendered in the CSS. As I said before, I only use bold in h tags, so specify that there.
So you are doing it wrong. For example, New York Times should be <i> and not <em>. It's not something you want emphasized.
JSWolf is offline   Reply With Quote
Old 07-20-2022, 02:29 PM   #224
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
Quote:
For example, New York Times should be <i> and not <em>. It's not something you want emphasized.
As I said before, actually you should be using the <cite> tag for that. I also specify that as italic in the CSS.
bookman156 is offline   Reply With Quote
Old 07-20-2022, 02:42 PM   #225
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
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.
bookman156 is offline   Reply With Quote
Reply

Tags
semantic markup


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 08:40 AM.


MobileRead.com is a privately owned, operated and funded community.