Help Topics
- Help
- Account & Taxes
-
Book Formatting
-
Format Your Paperback
- Set Trim Size, Bleed, and Margins
- Format Front Matter, Body Matter, and Back Matter
- Save Your Manuscript File
- Paperback and Hardcover Manuscript Templates
- Cover Creator
- Create a Paperback Cover
- Format Images in Your Book
- Paperback Fonts
- Fix Paperback and Hardcover Formatting Issues
- Paperback Submission Guidelines
- Format Your Hardcover
- Format Your eBook
- Tools and Resources
-
Format Your Paperback
- KDP Publishing
-
Orders & Book Copies
-
Proof and Author Copies
- How do I order a proof or author copy?
- How much do proof or author copies cost?
- What is the cost to ship my proof or author copy?
- When will my proof or author copy arrive?
- I’m getting an error ordering my author copy
- I’m getting an error ordering my proof copy
- My proof or author copy came damaged
- My proof or author copy didn’t arrive on time
- My proof or author copy has printing errors
-
Proof and Author Copies
- Amazon Store & Detail Page
- Marketing & Distribution
- Book Updates
- Payments & Reports
- Legal & Content Guidelines
-
User Guides
-
Kindle Publishing Guidelines
- Getting Started
- General Best Practices
- Guidelines for Specific Types of eBooks
- Appendices
- KDP Jumpstart
- KDP University
-
Kindle Publishing Guidelines
Contact Us
Have feedback? Can't find your answer in our Help pages?
Contact UsNavigation Guidelines
HTML Table of Contents Guidelines
HTML ToC best practices:
- The entries in the ToC must be HTML links so that users can click to go to a specific location. A table of contents that is not made of links is not useful on Kindle.
- Do not create a ToC using HTML
<table>
tags. Tables are for tabular data only, not for layout. - Do not use page numbers in the ToC. Kindle books do not always map directly to page numbers in physical editions of the book.
- If you are importing the document from Word, use the "Heading" styles and the "Table of Contents" feature of Microsoft Word. The ToC created by Word will be imported correctly and will convert to a ToC that follows these guidelines.
- For bundled editions containing more than one individual book, include an overarching ToC at the beginning of the file.
- If your ToC includes a List of Maps or Illustrations, provide an HTML link to each map or illustration.
- Check that all your TOC links are linked correctly, to the correct locations.
- Make sure the TOC is in chronological order.
Using a Nested HTML ToC
To create useful and navigable nested ToC entries, Amazon recommends using the following syntax in the HTML ToC. The examples below show two ways of writing the same sample code: style attributes and CSS classes.
Using style attributes:
|
Using CSS classes:
|
NCX Guidelines
Logical ToCs are generated using toc nav elements or a navigational control file for XML application (NCX). Creating a logical ToC exposes the hierarchical structure of a Kindle book and allows the user to navigate through it using the Kindle menu. The inclusion of a logical ToC is especially important for books that are longer than 20 pages.
In logical ToC-enabled books, users can see where they are in the book because the part, chapter, or section is exposed. This progress indicator also shows relative progress through the book.
See guidance on creating a logical ToC using a toc nav element.
Important: Kindle devices and applications support two levels of nesting.- Make sure your book contains NCX.
- Check that all the links in the NCX are correct, and navigating to the correct location.
- The NCX is not missing any chapters/sections, or contain any duplicates.
- Check for any typos in the NCX.
- NCX links are in chronological order.
Creating a Logical ToC Using a toc nav Element
See details on the toc nav element (IDPF 3.0 specification).
Creating a toc nav element provides both a logical ToC and an HTML ToC. The toc nav element should be a separate HTML document from the HTML ToC.
Example:
|
The example above defines the following ToC hierarchy:
AUTHOR'S NOTE
PART ONE
THE HOUSES, 1969
ROCK AND ROLL, 1962
THE EMPRESS, 1928–1947
This excerpt from the OPF (publication header file) shows how to declare the toc nav
element in the <manifest>
:
Example:
|
Using it in the <spine>
is optional if it will be used as the HTML ToC.
Example:
|
Creating a Logical ToC Using NCX
See IDPF 2.0 specifications for NCX.
NCX Example:
|
The NCX example above defines the following ToC hierarchy:
AUTHOR'S NOTE
PART ONE
THE HOUSES, 1969
ROCK AND ROLL, 1962
THE EMPRESS, 1928–1947
Amazon requires that the NCX elements follow the same order as the book. (For example, the link for Chapter 2 should not precede the link for Chapter 1.) This excerpt from the OPF (publication header file) shows how to add an NCX table of contents to a book.
Declare the NCX in the <manifest>:
|
And reference it in the <spine>
:
|
Guide Items
Guide items are an optional feature in the EPUB format but are highly recommended. Kindle provides support for the cover, ToC, and start reading location ("Go to Beginning") guide items. You can define guide items for the cover and ToC as described in the following section, Defining Cover and ToC. The start reading location is defined by Amazon. If you choose not to include guide items for the cover and ToC, these list items will still appear in the Kindle menus, but will be grayed out and not selectable.
Defining Cover and ToC
Kindle supports both landmarks nav
elements and guide items for defining the cover and table of contents (ToC). These elements serve to supplement the ToC and should not be used in place of one.
The landmarks nav elements are part of the IDPF 3.0 specification and are described at: http://idpf.org/epub/30/spec/epub30-contentdocs-20111011.html#sec-xhtml-nav-def-model and http://idpf.org/epub/30/spec/epub30-contentdocs-20111011.html#sec-xhtml-nav-def-types-landmarks.
Here is an example of a guide item for a ToC (underlined elements are mandatory):
|
Here is an example of a landmarks nav
element for a ToC (underlined elements are mandatory):
|