Supported HTML and CSS For The Amazon Kindle: Miscellaneous Tags
Supported HTML and CSS For The Amazon Kindle: Miscellaneous Tags
Supported HTML and CSS For The Amazon Kindle: Miscellaneous Tags
Miscellaneous Tags
<!--...--> <a href=""> ...</a> <a name=""> ...</a> <html>...</html> <head>...</head>
Comment. Not displayed in the book. (page 92) Links to a bookmark anchor ("#bookmarkname") or to an external website. (page 89) Establishes an internal bookmark to which you can link. (page 89) The opening and closing tags in your document. Contains information about the HTML document, such as <link>, <title>, and <style> tags. Contains the contents of the book. Creates a line (horizontal rule). (page 91) Inserts an image. (page 74) Page break. (page 92)
Font Formatting
Font Size
<small>...</small>
Reduces font size to one level smaller than the current font size. (page 44) Increases font size to one level larger than the current font size. (page 42)
<big>...</big>
Italics
<i>...</i> <em>...</em> <cite>...</cite>
Italic. (page 43) Emphasized text (italicized). (page 43) Indicates that enclosed text is quoted from another source (italicized). Indicates a variable name or program argument (italicized).
<var>...</var>
Copyright 2009 eBook Architects. All rights reserved. This file is provided as a supplement to Kindle Formatting: The Complete Guide. Please buy the book at http://kindleformatting.com/book.
Bold
<b>...</b> <strong>...</strong>
Bold (page 43) Strong emphasis (bold). (page 43)
Lines
<u>...</u> <s>...</s> <strike>...</strike>
Underlined. (page 44) Strikethrough. (page 46) Strikethrough. (page 46)
Mono-spaced
<code>...</code> <kbd>...</kbd> <samp>...</samp> <tt>...</tt>
Computer code. (page 47) Keyboard text. (page 47) Sample text. (page 47) Teletype text. (page 47)
Other
<span>...</span> <sub>...</sub>
Generic tag; can be used to apply a variety of styles. (page 47) Reduces the font size and drops the text below the baseline. (page 45) Reduces the font size and raises the text to the top of the line. (page 45)
<sup>...</sup>
Paragraphs, etc.
<h1>...</h1> <h2>...</h2> <h3>...</h3> <h4>...</h4> <h5>...</h5> <h6>...</h6> <div>...</div> <p>...</p>
Division or section. (page 59) Paragraph. (page 48) Heading tags. (page 67)
Copyright 2009 eBook Architects. All rights reserved. This file is provided as a supplement to Kindle Formatting: The Complete Guide. Please buy the book at http://kindleformatting.com/book.
Long quote. Creates left margin of 0.5 inches. (page 59) Line break. (page 58) Centers content horizontally. (page 55) Numbered list. Use <li> tags inside. (page 63) Bulleted list. Use <li> tags inside. (page 63) List item. (page 63)
height
style align
Supported CSS
Font
Property Description Sets the size of a font Values
font-size
Copyright 2009 eBook Architects. All rights reserved. This file is provided as a supplement to Kindle Formatting: The Complete Guide. Please buy the book at http://kindleformatting.com/book.
xx-large
length
%
font-style
font-weight
normal bold
Positioning
Property Description Sets the vertical alignment of an element Values
vertical-align
sub super
Text
Property Description Aligns the text in an element Values
text-align
text-decoration
underline line-through
text-indent
length
%
Copyright 2009 eBook Architects. All rights reserved. This file is provided as a supplement to Kindle Formatting: The Complete Guide. Please buy the book at http://kindleformatting.com/book.