Kindle HTML Formatting Cheat Sheet

Below is a sample Kindle HTML file with no Table of Contents. Use this sample if your ebook is fiction and does not need a TOC. Clicking the link below will open the file in a new window. Copy and paste the code shown into a blank MS Notepad document (or any plain text editor). Save the file with an html extension, e.g. ‘mybooktitle.html’ (change the ‘Save as type:’ box to ‘All Files’ first). Change only the recognisable text in the file to your info and story text, do not change any of the code or tags unless you’re sure of what you’re doing (Tip: save a backup copy of the file before you try changing any code).

I will be adding a sample file with a TOC shortly, as well as screenshots showing how to convert the finished file and images with Mobipocket Creator so they can be tested on your Kindle or Kindle for PC/Mac before uploading them to Amazon.

This entry was posted in Articles and tagged , , , . Bookmark the permalink.

2 Responses to Kindle HTML Formatting Cheat Sheet

  1. alan says:

    Hi,

    Thanks for this. Is there a complete list of different formatting codes that the kindle excepts available?

    And a set of known classes?

    I ask because I want to format a film script that has indents and centre placed content is a format which should be easy to map but doesn’t seem to be.

    Alan

  2. Kristy says:

    Hi Alan

    Centre placed content can be styled with CSS (just like in my sample file). You can also use the blockquote tag up to 3 or 4 times on the same content to push it over, though it only indents the left margin.

    More HTML tags can be found here:
    https://kdp.amazon.com/self-publishing/help?topicId=A1JPUWCSD6F59O

    https://kdp.amazon.com/self-publishing/help?topicId=A30JPY80T8JAFE

    Ta
    Kristy

Leave a Reply

Your email address will not be published. Required fields are marked *

*