View Single Post
Old 10-21-2021, 02:30 AM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,106
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by DNSB View Post
An epub3 navigation document is a list. See EPUB Navigation Document Definition though it is not defined as a numbered list.
Code:
<body>
  <nav epub:type="landmarks" hidden="" id="landmarks"><h2>Guide</h2>

  <ol>
    <li><a epub:type="bodymatter" href="part0005.xhtml">Beginning</a></li>

    <li><a epub:type="toc" href="part0002.xhtml">Contents</a></li>

    <li><a epub:type="cover" href="cover.xhtml">Cover</a></li>
  </ol></nav>

  <nav epub:type="toc"><h1>Table of contents</h1>

  <ol>
    <li><a href="part0000.xhtml">Title Page</a></li>
...

An OL (ordered List) is a numbered list.
It would be a UL if there just was a mark

Both have options as to what type to use (other than default)
theducks is offline   Reply With Quote