Adding a Cover and Table of Contents for a DTP Kindle File

A lot of folks seem to run into trouble with adding a cover or – worse – adding a Table of Contents (TOC) to the HTML file they want to upload to Amazon’s Digital Text Platform (DTP) for titles published in the Amazon Kindle Store. It’s not as bad as it looks!

Here’s the basic code for how to do it:

<div id=”cover”>
<center>
<img src=”mycover.jpg”>
</center>
</div>
<mbp:pagebreak />
<div id=”toc”>
<p>Table of Contents</p>
<p><a href=”#one”>One</a></p>
<p><a href=”#two”>Two</a></p>
</div>

<mbp:pagebreak />
<p><a name=”one”>One</a></p>
<p>Text for chapter one here…</p>
<mbp:pagebreak />
<p><a name=”two”>Two</a></p>
<p>Text for chapter two here…</p>

Note that the TOC will probably not work on the DTP preview tool (at least as of this writing), but I tested this code on my Kindle, and the menu functions for the TOC worked properly, and the cover image also showed up properly.

For more tips and information on publishing your book through Amazon DTP, check out Publish Your Book On The Amazon Kindle: A Practical Guide (there’s also a Kindle version).


Related Posts

  1. Kindle Publishing Tip: Formatting Differences With Kindle 2 If you publish (or are interested in publishing) on the Amazon Kindle, I wanted to direct your attention to an outstanding post by Joshua Tallent from www.kindleformatting.com on some of the display differences in formatting between the Kindle 1...
  2. Publish Your Book on the Amazon Kindle: A Practical Guide It’s no surprise that there are a lot of authors and small press publishers who want to get their work on the Amazon Kindle! Unfortunately, making that happen is not always as easy as it should be, and that’s why...
  3. KindleFormatting.com – Good Info for Publishing on Amazon Kindle I just wanted to point out a good source of information on formatting your document for the Amazon Kindle: kindleformatting.com by Joshua Tallent. There is of course a lot of information and current discussion on the Amazon DTP forums, but...
  4. The Amazon Kindle – Cool! In all the fuss and flurry of trying to promote In Her Name, it suddenly occurred to me that I haven’t really mentioned too much about the device that finally motivated me to get the book published: the Amazon Kindle....
  5. “In Her Name: Empire” is Now Available for Kindle and Mobipocket I hadn’t mentioned it in any of the earlier posts (I don’t think!), but I just wanted to make sure that you knew that In Her Name: Empire is indeed available both for the Amazon Kindle and as a Mobipocket...