Generally speaking, a Kindle book is just HTML and CSS. The part that can be difficult is figuring out which tags the Kindle actually supports. There are also a couple of unique tags that are not standard HTML but that you can use to add formatting to your Kindle book.
Getting Started
The first thing you should do is sign up for KDP, and after you have an account, click “Add a new title”. Enter in all of the information you have about your book and add a cover image if you want. The last thing you will do on this page will be to upload the actual book. For now, do nothing else or save the book as a draft and come back later.
Formatting
Since the Kindle is formatted in HTML, you could export your current document from OpenOffice.org or other software directly to HTML using the KDP upload interface. The important thing to note is that some formatting may not work correctly. I found the best method to be using plain text and reformatting the entire book. To do this, follow these steps:
Use your HTML editor of choice to create a new document. You can use standard XHTML in the DOCTYPE. Save the new document in a new folder.
In the title tag, put the title of your book:
To create a title page, you can use the header tag (
) or use an image. To center-align any text, use an inline css style (or simple stylesheet), for example:The Kindle does not recognize whitespace, so artificially inserted breaks will not show up. If you want to skip a page or simply start a new page at the end of a chapter, you must use a special tag: Any place you insert that tag will automatically start a new page.
For every new paragraph, use the
tag, and the Kindle will automatically indent it.
For any images, save them in the same folder with your document and link to them with the normal tag:
If you absolutely need to add white space, you can use formatting like this:
For italics, use and for bold use
Finishing and Publishing
There is really not much else to it. If you add too many styles and try to get fancy, you may find that they do not work or do not show up correctly. Remember, Kindle readers are accustomed to reading a black and white screen with plain pages and text. Adding too many spaces or strange formatting will probably just annoy them. You should leave it up to them and their configuration options to make any subtle formatting changes. They just want your readable content, not your visual artistic creation.
Image credits: Wikipedia and Flickr