Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 04-07-2023, 07:51 PM   #16
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,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by graycyn View Post
*IF* you are doing semantic markup, how would you treat something like:

No! No! No!

Would you mark up each exclamation:

Code:
<em>No!</em> <em>No!</em> <em>No!</em>
or make it simpler with:

Code:
<em>No! No! No!</em>
Do I Put Spaces Inside Italics/Emphasis?

Yep. The 2nd is better + more correct + much easier to read.

Spaces are a part of the entire "emphasis chunk" and are just as important!

Imagine you had a long book title:
  • <p>I was reading <i>This</i> <i>Book:</i> <i>Long</i> <i>Title</i> on the train ride. It was the <em>greatest</em> <em>ever</em>!</p>
  • <p>I was reading <i>This Book: Long Title</i> on the train ride. It was the <em>greatest ever</em>!</p>

Of course, the 2nd is preferred.

(It's also easier to imagine your italics/emphasis with a yellow highlight in the background! Would the space between words be included in your highlight?)

- - -

Side Note: One proofing trick you can do is temporarily use this CSS:

Code:
i {
	background-color: yellow;
}
em {
	background-color: orange;
}
Click image for larger version

Name:	Italics.vs.Emphasis.-.Color.Background.png
Views:	82
Size:	10.9 KB
ID:	200855

It'll help you as you're skimming through your book.

- - -

Does Punctuation Go Inside the <i> or <em>?

Now, the more interesting example comes into play with punctuation!

Do you include the ending commas/periods + exclamation/question/quotation marks inside of your <i> + <em>?

It depends. But huge lean towards NO.

See my famous examples from:

where I colorized italics in RED + made it a larger font:

Quote:
Originally Posted by Tex2002ans View Post
Completely agree with Jellby.

DO NOT include the punctuation in the italics if it doesn't belong.

[...]

The old way would have given this in [Chicago Manual of Style] 14:
  • Smith played the title role in <i>Hamlet,</i> <i>Macbeth,</i> and <i>King Lear;</i> after his final performance, during which many in the audience wept, he announced his retirement.
  • Smith played the title role in Hamlet, Macbeth, and King Lear; after his final performance, during which many in the audience wept, he announced his retirement.

[...] CMOS 15:
  • Smith played the title role in <i>Hamlet</i>, <i>Macbeth</i>, and <i>King Lear</i>; after his final performance, during which many in the audience wept, he announced his retirement.
  • Smith played the title role in Hamlet, Macbeth, and King Lear; after his final performance, during which many in the audience wept, he announced his retirement.
Would you do:

Code:
<i>Hamlet, Macbeth,</i> and <i>King Lear;</i>
Is the book called "Hamlet, Macbeth"? No. Of course not!*

- - -

* Although maybe we're not talking about Shakespeare, the famous author—maybe it's some Fakespeare guy who actually DID create a book called "Hamlet, Macbeth"!

- - -

What's This Text? <i> or <em>?

Quote:
Originally Posted by Quoth View Post
If you are the author, you can decide if Emphasised or Italic is correct, otherwise it's very hard to decide.
Strong disagree.

In the vast majority of cases, you can figure out author intended italics vs. emphasis.

For example, see my "3. "Spellcheck List" for Search":

where you can spit out a list of all (italics) in a book.

And where I showed a similar application for acronyms/smallcaps:

Seeing them in list-form, you can quickly map 90%+ to their intended <i> or <em>.

Just because you may have a hard time in the ambiguous 10%, doesn't mean you have to hold everything else back.

- - - - - -

Italics vs. Emphasis:

Quote:
Originally Posted by Tex2002ans View Post
3. "Spellcheck List" for Search

[...] Past few years, I've "secretly" been using this concept of "Italic Lists" to catch typos/errors.

Quote:
Originally Posted by Tex2002ans View Post
For example, ripping every single <i> out and sorting into an alphabetical list:

Code:
<i>Enciclopedia Italiana</i>
<i>New York Times</i>
<i>Volksgemeinschaft</i>
<i>Wall Street Journal</i>
<i>Washington Post</i>
<i>individual</i>
<i>laissez-faire</i>
<i>negative</i>
From a glance, you can usually tell which ones are meant to be <i> (newspapers, book titles, foreign words/terms) and which ones are <em> (individual words).

[...]
Splitting ALL italics, then sorted alphabetically + uniques... opens up a whole new class of previously missed errors.

Code:
<i>Wall Street Journal</i>
<i>Wa11 Street Journal</i>
right next to each other stands out like a sore thumb.

Having everything displayed beautifully in a "Sigil/Calibre Spellcheck List"-form would be super icing on top.
and Acronyms vs. Smallcaps:

Quote:
Originally Posted by Tex2002ans View Post
Advanced Find/Replace (List-Based)

[...] You'd probably want to skip replacing acronyms + "AD" and "BC", but apply that regex on all others:

Code:
Found   |  Replace                              |  Hits
________|_______________________________________|______
BC      |                                       |   100
AD      |                                       |    47
FIGURE  | <span class="smallcaps">Figure</span> |    10
ALEX    | <span class="smallcaps">Alex</span>   |     2
CIA     |                                       |     1
FBI     |                                       |     1
USA     |                                       |     1
[...]

With the list form, you can see patterns, double-check, then selectively apply Replaces (or Replace All just like now... just with more information at your fingertips).
Combine that with the background-color trick above, and I bet your eyes will solve most of these within a split second.

- - - - - -

Should I Mark Italics Or Emphasis If I Can?

Quote:
Originally Posted by graycyn View Post
When in doubt, I read text aloud, to see how it sounds with and without emphasis. And then do the best I can. Which is what anyone doing the reading for an audiobook or translating a text into another language is also doing. Interpreting.
Yes. Exactly.

And remember:

Think of Accessibility as a sliding scale from 0%->100%.

As long as you are trying your best, and moving in the right direction, that's good enough.

Like with HTML language (lang + xml:lang)...

You don't have to mark up every single Greek or Chinese word in an English book. But if you do, that's nice!

25% of the "foreign words" marked up correctly is better than 0%!

And if you properly mark your books up NOW, you'll auto-benefit when tools come out LATER.

(Even from 2016->2023, the tools got so much better!)

Are <i> and <em> the Same?

No!

Quote:
Originally Posted by Turtle91 View Post
Jon, you constantly refuse to understand the point that “emphasis” does not always mean “italics” [...] Emphasis can be anything from color to font to underline to voice stress to normal font within an italicized phrase or whatever. [...]

Please stop bringing up this argument every time someone mentions <em>.
Yep. Especially in foreign languages, like Chinese/Japanese/Korean, that:

and other languages, like Hebrew:
  • expands the spacing between characters

and Arabic:
  • stretches the entire word.

This was all discussed in extreme detail in:

Last edited by Tex2002ans; 04-07-2023 at 09:52 PM.
Tex2002ans is offline   Reply With Quote
Old 04-07-2023, 10:24 PM   #17
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,095
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by JSWolf View Post
Have you ever seen an eBook that uses <em> where it was not just italic? I've not seen such.
Yes and to paraphrase a semi-famous writer: There are more things in heaven and Earth...Than are dreamt of in your philosophy.


Quote:
Originally Posted by JSWolf View Post
Oh and <i> can also be changed with CSS or you can use something like <i class="em">
Seriously?!?! You hate <em> so much that you'd actually use <i class="em"> instead...just to make a point...talk about code bloat.

And, yes, you could use css to change <i> but then you would be negating any and all readers/apps/devices that inherently differentiate a visual font-slant <i> with an emphasis <em>.

That is just bad coding...

But again, as I have said multiple times, you do you. But please don't push your biases onto people here as if they were rules. State, clearly, that it is your personal choice/preference and it is not necessary based in fact, logic, or reality.
Turtle91 is offline   Reply With Quote
Advert
Old 04-08-2023, 12:27 AM   #18
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,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by JSWolf View Post
Have you ever seen an eBook that uses <em> where it was not just italic? I've not seen such.
If you saw a book that properly used <em> and <i>, would you finally stop this tomfoolery?

I have one right from 2021:

There are 31 <em>s and 187 <i>s:

Quote:
<p>[...] The main reason? His father—repeat, his <em>father</em>, not him—opposed the abolition of the slave trade in 1807. [...]</p>

[...]

<p>Usually she sang in theaters and concert halls but biographer Sarah Jenny Dunsmure, in the book <i>Jenny Lind: The Story of the Swedish Nightingale</i>, tells of an incident in a most unlikely place:</p>
Luckily, a Chinese person can English->Chinese translate that and get their emphasis marks.

The Japanese person's emphasis marks will appear on different sides if they're reading top-down or left-to-right.

The Arabic person will get their extra stretchy "father".

- - -

Side Note: For more Arabic emphasis, see this answer by Khaled Hosny:

where he mentions how Arabic can use these as well:
  • different calligraphic style
  • different color (or bolder)
  • overline
  • Nastaliq
    • The "stretchy"!

(Khaled is the creator of Amiri—a high-quality Arabic font—and does a ton of open source contributions, like LibreOffice + Harfbuzz—the text shaper now used in most OSes/programs.)

- - -

Quote:
Originally Posted by Turtle91 View Post
Seriously?!?! You hate <em> so much that you'd actually use <i class="em"> instead...just to make a point...talk about code bloat.
lol. I didn't even catch that while skimming. Boy, oh boy...

The most commonly used use-cases tend to get baked into HTML + CSS. The whole point of upgrading things into HTML Elements is to make interoperability (and building toolchains/workflows on top of this) possible.

Instead of people constantly hacking <div>s and <span>s and classes and do all sorts of crazy stuff...

If you used <em>, then:
  • fed this into the Text-to-Speech, it will know what to do.
    • Make it louder.
  • fed this into the Auto-Translate, it will know what to do.
    • Make the marks!
  • converted to Braille
    • Add the symbols before/after!

If you used <i class="em">, then:
  • translated to Chinese.
    • it wouldn't know what you meant.

If you used <i class="hervorhebungen"> in Danish, then:
  • translated to Arabic.
    • it wouldn't know what you meant.

Mark emphasis as <em>, and any/all languages/tools will know you meant emphasis, then can treat it appropriately.

Last edited by Tex2002ans; 04-08-2023 at 12:48 AM.
Tex2002ans is offline   Reply With Quote
Old 04-08-2023, 03:58 AM   #19
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Tex2002ans View Post
(It's also easier to imagine your italics/emphasis with a yellow highlight in the background! Would the space between words be included in your highlight?)
This should be the key to answer the original question. Is "No! No! No!" a single emphasized entity or three individual items that just happen to be side by side? If you were using a yellow background, would you like to see the spaces yellow or not?

In this particular case, it's probably open to interpretation, although I think a single thing is better. In other cases it's much more clear:

Code:
"Excuse me, but that wasn’t Sons of the Dessert"
"Sons of the Desert" is a title, so this should be:

Code:
"Excuse me, but that <*>wasn’t</*> <*>Sons of the Dessert</*>"
(use whatever you want for <*>: <i>, <em>, <span class="title">...)
Jellby is offline   Reply With Quote
Old 04-08-2023, 05:57 AM   #20
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: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
delete post

Last edited by JSWolf; 04-08-2023 at 06:01 AM.
JSWolf is offline   Reply With Quote
Advert
Old 04-08-2023, 05:59 AM   #21
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: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
delete post

Last edited by JSWolf; 04-08-2023 at 06:07 AM.
JSWolf is offline   Reply With Quote
Old 04-08-2023, 06:07 AM   #22
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: 73,998
Karma: 128903378
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 Tex2002ans View Post
SIZE="4"]Are <i> and <em> the Same?[/SIZE]

No!
What can you do with <em> that you cannot do with <i>? The answer is nothing. They are exactly the same. The only difference is that <em> was created when someone stupidly decided to dump <i>. Before they brought back <i>, you had to do <em>New York Times</em> until <i> was brought back and you could do <i>New York Times</i>.

You can style <i> and <em> the same. You can give them classes the same. No software reads <i> and <em> differently. In print, there is even less difference. In most cases <em> is used the same as <i> with no styling.

I've not seen any eBook that uses <em> do anything with it other then italicize the text.
JSWolf is offline   Reply With Quote
Old 04-08-2023, 08:16 AM   #23
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,095
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
It’s like he doesn’t even read the answer to his questions or the examples that he asks for… if it disproves his assertion it doesn’t exist. Because <em>he</em> hasn’t seen it, and you wouldn’t be able to tell the difference in a pBook (we ARE talking about eBooks on this forum are we not?) then it must not exist…

*shrug*

I think he just likes to argue and just regurgitates the same disproven point.

I’m out.
Turtle91 is offline   Reply With Quote
Old 04-08-2023, 10:38 AM   #24
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: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
When has <em> ever been different to <i> outside of looking at the code?
JSWolf is offline   Reply With Quote
Old 04-08-2023, 01:01 PM   #25
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by JSWolf View Post
When has <em> ever been different to <i> outside of looking at the code?
Possibly with a very good Text to Speech / screen reader, Arabic and some Asian languages etc. Some writing systems don't do italic, emphasis or ordinary bold at all.
It's absolutely correct to use <em> instead of <i> if the intention is emphasis. Italics is only a Western font thing (invented in Italy, hence the name), but emphasis does exist in some other systems.
1. I try to avoid italics <i> anyway as it slows reading and may not translate.
2. Certainly there are more situations where it's just a convention to use italics, but emphasis is a real thing.
3. It's true that the <i> was stupidly depreciated for a while and some ebooks incorrectly use <em> for all italics and <strong> for all bold, but that doesn't mean <em> and <strong> are pointless or wrong. They should be used when appropriate.
4. I'd use <em> or <strong> when appropriate.

All italics, bold, emphasis, strong etc should be sparingly used in fiction and dialogue.
Quoth is offline   Reply With Quote
Old 04-08-2023, 01:12 PM   #26
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by JSWolf View Post
Before they brought back <i>, you had to do <em>New York Times</em> until <i> was brought back and you could do <i>New York Times</i>.
Such a life saver! Of course, you could do <i>NYT</i>, which is much shorter.

While you're at it, why use <span> or <sup>? You can get exactly the the same with <i> (and proper CSS). So just use <i> everywhere. Actually, you don't even need the the text, you can get it through <i> as well, as in this proof of concept:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ops="http://www.idpf.org/2007/ops" xml:lang="es">
<head>
  <title>&lt;i&gt; rules</title>
  <link href="css/title.css" type="text/css" rel="stylesheet" />
  <style type="text/css">
    i { font-style: normal; }
    .H::before { content: "H";}
    .d::before { content: "d";}
    .e::before { content: "e";}
    .l::before { content: "l";}
    .o::before { content: "o";}
    .r::before { content: "r";}
    .w::before { content: "w";}
    .space::before { content: " ";}
    .comma::before { content: ",";}
    .excl::before { content: "!";}
  </style>
</head>
<body>

<p><i class="H"/><i class="e"/><i class="l"/><i class="l"/><i class="o"/><i class="comma"/><i class="space"/><i class="w"/><i class="o"/><i class="r"/><i class="l"/><i class="d"/><i class="excl"/></p>

</body>
</html>
Jellby is offline   Reply With Quote
Old 04-08-2023, 01:22 PM   #27
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,464
Karma: 145525534
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
One of the best one paragraph items I ran into on semantic vs. visual markup:

Quote:
Semantic Markup refers to marking up documents in ways that provide information about the content itself rather than information about the visual styling of the content. It is critical to ensure that assistive technology users can understand your document.
DNSB is online now   Reply With Quote
Old 04-08-2023, 01:54 PM   #28
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,285
Karma: 98804578
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by Turtle91 View Post
I think he just likes to argue and just regurgitates the same disproven point.
Twelve years ago I thought he was probably a 10 year old. That's obviously isn't true now.

My current hypothesis is that the account is a bot.
j.p.s is offline   Reply With Quote
Old 04-08-2023, 01:54 PM   #29
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,645
Karma: 5433388
Join Date: Nov 2009
Device: many
In fact, entirely new html tags are being added just to make semantic meaning clearer for accessibility reading systems:

See: the latest html whatwg spec:

https://github.com/whatwg/html/pull/7320

It is way past time for ebook developers to start creating truly accessible ebooks (dropping epub2 and its old html whenever possible) and start caring about semantics (IMHO).

Last edited by KevinH; 04-08-2023 at 02:01 PM.
KevinH is offline   Reply With Quote
Old 04-08-2023, 02:06 PM   #30
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by DNSB View Post
One of the best one paragraph items I ran into on semantic vs. visual markup:
Yes, text to speech, or maybe a Braille terminal. Some people are deaf as well as visually impaired. Text to speech may also be used by those with limited or no reading ability.
Quote:
Top 10 Least Literate Countries in the World:
Chad - 2016 - 22.31%
Guinea - 2014 - 32.00%
South Sudan - 2018 - 34.52%
Niger - 2018 - 35.05%
Mali - 2018 - 35.47%
Central African Republic - 37.40%
Burkina Faso - 2018 - 41.22%
Benin - 2018 - 42.36%
Afghanistan - 2018 - 43.02%
Sierra Leone - 2018 - 43.21%
Note the basic qualification of "literacy" for statistics may fall far short of reading a textbook or fiction for youths to adults.
Also sematic markup potentially helps with translation.

I know what "printed" (really embossed) Braille is like, but not what a terminal is able to do. Recorded audio (since 1890s) has made a huge difference, especially when tape came (cassettes are actually better than CDs for audio books in many ways and digital files may have device accessibility issues).
Quoth is offline   Reply With Quote
Reply

Tags
semantic markup


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Semantic discussion on the phrase "Title Case" DiapDealer Sigil 24 11-22-2017 02:48 PM
Typo in Set Semantic ? Bertrand Editor 1 04-06-2016 10:24 AM
DTBook markup? frquixote Calibre 10 03-05-2014 06:17 PM
Markup for TTS? jcsalomon ePub 4 06-19-2013 11:47 AM
Semantic formating for simple poetry: any comments on my code? sourcejedi ePub 12 04-22-2011 06:28 AM


All times are GMT -4. The time now is 01:51 AM.


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