Thread: epubcheck Error
View Single Post
Old 05-20-2024, 02:37 AM   #10
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: 46,845
Karma: 169712582
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Karellen View Post
They look like headings. Why not use the correct heading tags?

<h2>THE COLOUR OUT OF SPACE</h2>
(or maybe <h3> depending on the books heading hierarchy)

and you can do away with all the other tags.
The code looks more like they are a subtitle which I generally do not use header tags for since it makes the ToC a mess. My preference is to add the chapter number and subtitle to a title="CN: Subtitle" in the header.

I'm not sure what they are doing with the unterminated <a name="..."> though that may be an attempt to use them in the ToC generation. Hard to say without seeing the full ePub.
DNSB is online now   Reply With Quote