Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 12-31-2025, 05:08 AM   #31
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: 49,230
Karma: 174632678
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
They should be ignored. A quick test of an ePub3 read using the RMSDK renderer on a Kobo ereader showed no difference when I added section and article.
DNSB is offline   Reply With Quote
Old 12-31-2025, 08:09 AM   #32
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: 81,394
Karma: 150264805
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 Turtle91 View Post
Ahhh, so you DO choose to wrap a blockquote around each sentence…. Fascinating….

I shudder to imagine assistive technology calling out “Quote” every time it gets to a new sentence of yours.
It's only the offset text that gets a <blockquote> as it should. Regular paragraphs would not need such.
JSWolf is online now   Reply With Quote
Advert
Old 12-31-2025, 08:12 AM   #33
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: 81,394
Karma: 150264805
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 Turtle91 View Post
The <blockquote> HTML element has been available since HTML 2.0, which was released in November 1995.

The <q> HTML element was introduced in HTML 4.01, which was published as a W3C Recommendation on December 24, 1999.

In short, they’ve been around for a LONG time! If a device doesn’t support them, the device should be tossed in the trash because it is probably growing some zombie apocalypse mold in its innards…
You have to remember that Kobo are popular. And because of this, you really should be coding (when you can) so that your eBook works as best as it can with the version of RMSDK on a Kobo. There are things you won't be able to make work, but when you can, you should. For example, do not use rem but instead use em.
JSWolf is online now   Reply With Quote
Old 12-31-2025, 08:13 AM   #34
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: 81,394
Karma: 150264805
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 icearch View Post
Not just these, I mean other newer things like <section> and <article>. If I recall correctly, they are html5 feature. If not supported, would these just be ignored or cause some troubles?
Things line <section> and <article> will get ignored as needed. Just remember, do not use a class with any of these sorts of things or you could break your eBook's backwards comparability.
JSWolf is online now   Reply With Quote
Old 12-31-2025, 10:26 AM   #35
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,430
Karma: 20456789
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by JSWolf View Post
You have to remember that Kobo are popular. And because of this, you really should be coding (when you can) so that your eBook works as best as it can with the version of RMSDK on a Kobo. There are things you won't be able to make work, but when you can, you should. For example, do not use rem but instead use em.
Are you saying that Kobo’s don’t work with blockquote and q??

If the OP is making a commercial product, then, of course, they would need to provide fallback coding for those ancient devices. As you also know, that should not prevent them from using current coding techniques to make their books look as good as possible.

The use of <article> and <section> are ePub3. The new standards should be used as much as possible if for no other reason than to keep them current longer. If those old devices can’t grok the new coding they are required to ignore them gracefully. That means they might have a slightly less-pretty product, but will be able to read it just fine. If the device doesn’t follow the spec, and crashes completely, then it’s time to toss the device… as you know.
Turtle91 is offline   Reply With Quote
Advert
Old Yesterday, 07:06 AM   #36
Quoth
Still reading
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: 15,270
Karma: 112999999
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by JSWolf View Post
It's only the offset text that gets a <blockquote> as it should. Regular paragraphs would not need such.
Only actual quotations should get Blockquote (for semantic reasons). Use a <p class="whatever"> with any offset text that's not a quotation. It's only needed for "old mobi" which is now dead since about March 2025.

Kobo in both modes does support Blockquote. It should also have a class to explicitly set margins rather than accepting whatever default is defined by the renderer. Never have nested blockquotes. I've seen that stupidity in old mobi source (HTML3).

Last edited by Quoth; Yesterday at 07:10 AM.
Quoth is offline   Reply With Quote
Old Yesterday, 07:28 AM   #37
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: 81,394
Karma: 150264805
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 Turtle91 View Post
Are you saying that Kobo’s don’t work with blockquote and q??

If the OP is making a commercial product, then, of course, they would need to provide fallback coding for those ancient devices. As you also know, that should not prevent them from using current coding techniques to make their books look as good as possible.

The use of <article> and <section> are ePub3. The new standards should be used as much as possible if for no other reason than to keep them current longer. If those old devices can’t grok the new coding they are required to ignore them gracefully. That means they might have a slightly less-pretty product, but will be able to read it just fine. If the device doesn’t follow the spec, and crashes completely, then it’s time to toss the device… as you know.
With RMSDK on Kobo, <blockquote> works. <q> does not work. However, you can just use quotes instead.

Thing is, Kobo is not old. Just RMSDK is old. So you do have to code for it whenever possible. However, things like <article> and <section> are ignored. Just don't use any classes with these ePub3 specific tags.

Last edited by JSWolf; Yesterday at 07:30 AM.
JSWolf is online now   Reply With Quote
Old Yesterday, 07:35 AM   #38
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: 81,394
Karma: 150264805
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 Quoth View Post
Only actual quotations should get Blockquote (for semantic reasons). Use a <p class="whatever"> with any offset text that's not a quotation. It's only needed for "old mobi" which is now dead since about March 2025.

Kobo in both modes does support Blockquote. It should also have a class to explicitly set margins rather than accepting whatever default is defined by the renderer. Never have nested blockquotes. I've seen that stupidity in old mobi source (HTML3).
I see no reason not to use <blockquote> for offset text. I don't like <div class="shouldhavebeenablockqoute">.
JSWolf is online now   Reply With Quote
Old Yesterday, 09:47 AM   #39
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,430
Karma: 20456789
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by JSWolf View Post
I see no reason not to use <blockquote> for offset text. I don't like <div class="shouldhavebeenablockqoute">.
As usual, you are only concerned with the VISUAL result. You don’t seem to care about assistive technologies and their need for using the correct semantic tag.

For your own books, do whatever you "like", but please don’t come on here presenting your "likes" as good practice.
Turtle91 is offline   Reply With Quote
Old Yesterday, 10:42 AM   #40
ElMiko
Fanatic
ElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileReadElMiko has read every ebook posted at MobileRead
 
ElMiko's Avatar
 
Posts: 518
Karma: 65460
Join Date: Jun 2011
Device: Kindle Voyage, Boox Go 7
Quote:
Originally Posted by Turtle91 View Post
As usual, you are only concerned with the VISUAL result. You don’t seem to care about assistive technologies and their need for using the correct semantic tag.

For your own books, do whatever you "like", but please don’t come on here presenting your "likes" as good practice.
So, in fiction, let's say a character finds a flyer on the ground, and that flyer is 12 lines long plus and extended disclaimer.

Mr. Amazing's Wonder Emporium
Come One! Come All!
We're open 24/7,
but only for a LIMITED TIME!
Some exhibits restricted to 18+...
Be prepared to be
shocked,
horrified,
thrilled,
and
delighted!!
$5 entry; group discounts available

DISCLAIMER GOES HERE......

Would you blockquote that? Or limit yourself to a <div> for the top/bottom/left/right margins around the one or more <p>s that constitute the flyer's contents?

Semantically, I think of this as functionally a blockquote, as the content is representing text that exists apart from narrative text. It's "quoting" the contents of the flyer. But by that logic, I'm also inclined to use it for signage that's much shorter, e.g.:

BEWARE OF GOD
KEEP OUT!

From an accesibility standpoint, I would think blockquoting these communicates more contextual information to the consumer than <div>-ing them, but I don't know what is standard practice.

Last edited by ElMiko; Yesterday at 10:47 AM.
ElMiko is offline   Reply With Quote
Old Yesterday, 12:28 PM   #41
icearch
Enthusiast
icearch began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Nov 2025
Device: none
I think it can be compared with movies. If something need a dedicated shoot, like a poster/flyer/long quote, it needs blockquote. If it does not have a separate shoot, like someone is talking and just bring up a sentence, it does not need blockquote.
It's more of a flow and vibe thing rather than technical and standard thing I so think.
icearch is online now   Reply With Quote
Old Yesterday, 03:45 PM   #42
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,578
Karma: 21743557
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
In my latest ebook (to be uploaded soon) I use <blockquote> for letters inserted in the narrative, with offset left margin (but not right, to better fit narrow screens). Printed books would use both left and right offset, and/or smaller type. I also use:
Code:
em, span.foreign, span.title {
  font-style: italic;
}
with:
Code:
Hubert Sand never <em>wore</em> this dressing-gown.

There is our <span class="foreign" xml:lang="fr">jeune premier</span>, Mr Knight

a burlesque of <span class="title">Hamlet</span>.
<em> is for emphasis, not all italics are emphasized. I could have used <i> instead of <span>, but that's less semantic, and I'm specifying the style anyway.
Jellby is online now   Reply With Quote
Old Yesterday, 04:23 PM   #43
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 325
Karma: 3200000
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
Quote:
Originally Posted by ElMiko View Post
So, in fiction, let's say a character finds a flyer on the ground, and that flyer is 12 lines long plus and extended disclaimer.

Mr. Amazing's Wonder Emporium
Come One! Come All!
We're open 24/7,
but only for a LIMITED TIME!
Some exhibits restricted to 18+...
Be prepared to be
shocked,
horrified,
thrilled,
and
delighted!!
$5 entry; group discounts available

DISCLAIMER GOES HERE......

Would you blockquote that? Or limit yourself to a <div> for the top/bottom/left/right margins around the one or more <p>s that constitute the flyer's contents?

Semantically, I think of this as functionally a blockquote, as the content is representing text that exists apart from narrative text. It's "quoting" the contents of the flyer. But by that logic, I'm also inclined to use it for signage that's much shorter, e.g.:

BEWARE OF GOD
KEEP OUT!

From an accesibility standpoint, I would think blockquoting these communicates more contextual information to the consumer than <div>-ing them, but I don't know what is standard practice.
I blockquote stuff like that. I try to figure the nearest semantic tag to use, even if it's not exactly right, because I prefer that over something like a <div> which has no particular meaning at all.

But I absolutely 100% understand, and have no strong argument against, the idea that you shouldn't do that because "meaningless" is better than "wrong meaning." I could see getting there myself in time.
phillipgessert is offline   Reply With Quote
Old Yesterday, 04:44 PM   #44
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: 9,176
Karma: 6565382
Join Date: Nov 2009
Device: many
You can also use a section tag with whatever css you want but with an aria-label attribute to identify things for a screen reader. If you want you can add aria attributes to many other kinds of tags as long as you follow the aria rules.
KevinH is online now   Reply With Quote
Old Yesterday, 06:05 PM   #45
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,430
Karma: 20456789
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
I imagine the way to differentiate is to ask yourself what it would sound like if you were listening to an assistive technology reading the passage aloud. Some of them will actually say the word "Quote" aloud before they start reading anything in a blockquote to give the listener context.

If you don't mind a listener hearing "Quote" before any indented sentence, letter, banner, etc. then you could use a blockquote; otherwise a div would be more appropriate. Especially since you can make a div look exactly how you want - not just relying on a blockquote's visual default.

I also bow to Kevin's greater familiarity with section tags/aria labeling in ePub3!

Last edited by Turtle91; Yesterday at 06:07 PM.
Turtle91 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
which do you prefer LH07 General Discussions 33 02-03-2014 08:04 AM
Which one do you prefer more and why? Ganiy General Discussions 63 12-16-2013 08:27 PM
What do you prefer? FullCircleDesign General Discussions 52 08-05-2013 08:33 AM
Which of these books do you prefer Enkidu of Abydos Lounge 43 03-18-2011 09:21 PM
PRS-900 Which dictionary do you prefer? Penforhire Sony Reader 3 01-26-2010 11:10 AM


All times are GMT -4. The time now is 01:06 PM.


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