Amazon Kindle - E-Book Readers | UA - User Agents
Standards Based Development
Kindle and html
Kindle Direct Support html
| Element | Attributes | Description |
|---|---|---|
!-- -- | Comment – enclosed text not displayed in final product. Example: | |
a | Anchor for hyperlink. | |
| href | Defines the address of the internal bookmark or external web page to which the hyperlink points. | |
| id | Assigns a unique id to this element. | |
| name | Defines an internal bookmark to which you can point a hyperlink. | |
b | Formats enclosed text as bold. | |
| id | Assigns a unique id to this element. | |
big | Increases font size of enclosed text to one point larger than the current or default font size. | |
blockquote | Sets off long quotes from body text; creates a margin of white space around quoted text, indented on the left side only. You cannot use paragraph tags inside blockquote elements - use the break ( | |
| id | Assigns a unique id to this element. | |
body | Encloses the body text of the HTML file. | |
br / | Creates a line break. | |
| id | Assigns a unique id to this element. | |
center | Centers text horizontally. | |
cite | Indicates that enclosed text is quoted from another source; formatted as italic. | |
dd | Encloses the definition of a term in a definition list ( | |
| id | Assigns a unique id to this element. | |
| title | Creates text in a pop-up box when readers mouse over this element. | |
del | Indicates deleted text; enclosed text is formatted as strikethrough. | |
dfn | Used to indicate term being defined for the first time in the text. Formats enclosed text as italics. | |
div | Defines a division or section of a document. | |
| align | Determines alignment for this section. | |
| id | Assigns a unique id to this element. | |
| bgcolor | Defines the background color for this section. | |
em | Emphasizes the enclosed text; generally formatted as italic. | |
| id | Assigns a unique id to this element. | |
| title | Creates text in a pop-up box when readers mouse over this element. | |
font | Determines the appearance of the enclosed text. | |
| color | Defines the font color. | |
| face | Defines the font style. | |
| id | Assigns a unique id to this element. | |
| size | Defines the font size. | |
head | Contains information about the HTML document. Should enclose only the | |
h1 to h6 | Formats enclosed text as a section heading: | |
hr / | Creates a horizontal "rule" or line. Often used to divide sections of text. | |
| color | Defines the color of this element. | |
| id | Assigns a unique id to this element. | |
| width | Defines the width of this element. | |
html | Indicates the start and end ( | |
i | Formats enclosed text as italic. | |
| class | Assigns one or more class names to this element. | |
| id | Assigns a unique id to this element. | |
img / | Defines an inline image within the text. | |
| align | Determines the alignment of the image. | |
| border | Defines a border around the image. | |
| height | Determines the height of the image. | |
| id | Assigns a unique id to this element. | |
| src | Identifies the source file and location of the image. | |
| width | Determines the width of the image. | |
li | Identifies an item in an ordered (numbered) or unordered (bulleted) list. | |
| class | Assigns one or more class names to this element. | |
| id | Assigns a unique id to this element. | |
| title | Creates text in a pop-up box when readers mouse over this element. | |
ol | Creates a numbered list from enclosed items, each of which is identified by a | |
| id | Assigns a unique id to this element. | |
p | Defines a paragraph of text with the first line indented; creates a line break at the end of the enclosed text. | |
| align | Determines the alignment of the paragraph. | |
| id | Assigns a unique id to this paragraph. | |
| title | Creates text in a pop-up box when readers mouse over this element. | |
s | Formats text as strikethrough. See also, | |
| id | Assigns a unique id to this element. | |
| style | Defines the style for this element. | |
| title | Creates text in a pop-up box when readers mouse over this element. | |
small | Reduces font size of enclosed text to one point smaller than the current or default font size. | |
| id | Assigns a unique id to this element. | |
span | Applies defined attributes to in-line text. | |
| bgcolor | Defines the background color for this element. | |
| title | Creates text in a pop-up box when readers mouse over this element. | |
strike | Formats text as strikethrough. See also, | |
| class | Assigns one or more class names to this element. | |
| id | Assigns a unique id to this element. | |
strong | Formats enclosed text as bold. See also, | |
| class | Assigns one or more class names to this element. | |
| id | Assigns a unique id to this element. | |
sub | Formats enclosed text as subscript: reduces the font size and drops it below the baseline. | |
| id | Assigns a unique id to this element. | |
sup | Formats enclosed text as superscript: reduces the font size and places it above the baseline. | |
| class | Assigns one or more class names to this element. | |
| id | Assigns a unique id to this element. | |
| id | Assigns a unique id to this element. | |
u | Formats enclosed text as underlined. | |
| id | Assigns a unique id to this element. | |
ul | Creates a bulleted list from enclosed items, each of which is identified by a | |
| class | Assigns one or more class names to this element. | |
| id | Assigns a unique id to this element. | |
var | Indicates a variable name or program argument. Enclosed text formatted as italic. |
Common html Elements
| Element | Description |
|---|---|
a | Anchor for hyperlink. Example: |
b | Formats enclosed text as bold. (See also: |
br / | Creates a line break. |
center | Centers enclosed text horizontally. |
em | Emphasizes enclosed text; formatted as italic. |
h1 - h6 | Format enclosed text as a section heading: |
i | Formats enclosed text as italic. See also, |
img / | Defines an inline image within the text. |
li | Defines an item in an ordered (numbered) or unordered (bulleted) list. |
ol | Creates a numbered list from enclosed items, each of which is identified by a |
p | Begin and end ( |
strong | Formats enclosed text as bold. See also, |
u | Formats enclosed text as underlined. |
ul | Creates a bulleted list from enclosed items, each of which is identified by a |
Kindle Custom html Elements
| Element | Attributes | Values | Description |
|---|---|---|---|
mbp:pagebreak / | Forces a page break. | ||
mbp:nu | Formats enclosed text as "not underlined." (Overrides tag attributes.) | ||
mbp:section | Defines a book section. |
Submitting html Document
Note: before uploading an html document that contains images, compress all files into a single ZIP file.
Note: Save html file using Web Page, Filtered, (*HTM & *HTML) (pc) or Web Page (.htm) (Mac), which includes any images on the page. The resulting html file and images subfolder can then be compressed into a ZIP file for upload.
Note: if your html document doesn't contain images, upload it directly, without compressing it into a ZIP file.
Building Your Book for Kindle
Building Your Book for Kindle is a free guide, providing a walk through of the necessary steps in creating a professional digital file of your book using MS-Word 2010 for quick upload to Kindle Direct Publishing.
Building Your Book for Kindle can also be read on Kindle Cloud Reader.
Kindle Cloud Reader
Kindle Cloud Reader is an html5 based webapp, which allows users to read, and purchase, Kindle books from the browser. Supported in Chrome and Safari.