Your Garage Luxury Beauty Best Books of the Month STEM nav_sap_plcc_ascpsc Samsung S8 Launch Starting at $39.99 Wickedly Prime Handmade Mother's Day Gifts hgg17 Shop Popular Services animestrike animestrike animestrike  Introducing Echo Look Starting at $89.99 Kindle Oasis Nintendo Switch Shop Now

List of supported HTML tags and CSS elements

Lists the major enhancements in KF8 though it is not exhaustive


HTML TagDescription
<!--...-->Specifies a comment
<!DOCTYPE> Specifies the document type
<?xml?>This tag identifies a document as an XML document
<a>Specifies a hyperlink
<address>Specifies an address element
<article>Specifies an article
<aside>Specifies content aside from the page content
<b>Specifies bold text
<blockquote>Specifies a long quotation
<body>Specifies the body element
<br>Inserts a single line break
<caption>Specifies a table caption
<center>Centers text horizontally
<cite>Specifies a citation
<code>Specifies computer code text
<col>Specifies attributes for table columns 
<dd>Specifies a definition description
<del>Specifies deleted text
<dfn>Defines a definition term
<div>Specifies a section in a document
<dl>Specifies a definition list
<dt>Specifies a definition term
<em>Specifies emphasized text 
<figcaption>Specifies caption for the figure element.
<figure>Specifies a group of media content, and their caption
<footer>Specifies a footer for a section or page
<h1>Specifies a heading level 1
<h2>Specifies a heading level 2
<h3>Specifies a heading level 3
<h4>Specifies a heading level 4
<h5>Specifies a heading level 5
<h6>Specifies a heading level 6
<head>Specifies information about the document
<header>Specifies a group of introductory or navigational aids, including hgroup elements
<hgroup>Specifies a header for a section or page
<hr>Specifies a horizontal rule
<html>Specifies an html document
<i>Specifies italic text
<img>Specifies an image
<ins>Specifies inserted text
<kbd>Specifies keyboard text
<li>Specifies a list item
<link>Specifies a resource reference
<mark>Specifies marked text
<menu>Specifies a menu list
<ol>Specifies an ordered list
<output>Specifies some types of output
<p>Specifies a paragraph
<pre>Specifies preformatted text
<q>Specifies a short quotation
<rp>Used for the benefit of browsers that don't support ruby annotations
<rt>Specifies the ruby text component of a ruby annotation.
<samp>Specifies sample computer code
<section>Specifies a section
<small>Specifies small text
<source>Specifies media resources
<span>Specifies a section in a document
<strong>Specifies strong text
<style>Specifies a style definition
<strike>Create a strikethrough text
<sub>Specifies subscripted text
<sup>Specifies superscripted text
<table>Specifies a table
<tbody>Specifies a table body
<td>Specifies a table cell
<tfoot>Specifies a table footer
<th>Specifies a table header
<thead>Specifies a table header
<time>Specifies a date/time
<title>Specifies the document title
<tr>Specifies a table row
<u>Underlines any text it encloses
<ul>Specifies an unordered list
<var>Specifies a variable
<wbr>Specifies a line break opportunity for very long words and strings of text with no spaces.
<nav>Specifies navigation links
<summary>Specifies a summary/caption for the <details> element



CSS AttributeDescription
/*Comment*/CSS Comment
@importImport external style sheets
@charsetDeclares Character encoding
@mediaDeclares different styles for different media. Will support either "All" or "Screen" and ignore others
@namespaceEnables usage of namespaces
@font-faceAllows for linking to fonts
*Selects all elements
EMatches any E element (div, span, p)
E.classClass selector
E#idID selector
E:linkLink selector (not yet visited)
E:visitedLink selector (visited)
E:activeMatches E when active by user action
E:hoverMatches E when hover by user action
E:focusMatches E when focus by user action
marginSets margin properties
paddingSets padding properties
widthSets width of an element
heightSets height of an element
floatSpecifies if a box should float on the side
clearSpecifies which side of an element where other floating elements are not allowed
displaySpecifies the type of box an element should generate
min-widthSets minimum width of an element
max-widthSets maximum width of an element
min-heightSets minimum height of an element
max-heightSets maximum height of an element
clipClips an absolutely positioned element
overflowSpecifies what happens if content overflows an element box
visibilitySpecifies whether or not an element is visible
overflow-xForces horizontal scroll bars on overflow
overflow-yForces vertical scroll bars on overflow
border-radiusSets the radius for rounded corner in borders
borderSets all the border properties in one declaration
border-bottomSets all the bottom border properties in one declaration
border-bottom-colorSets the color of the bottom border
border-bottom-styleSets the style of the bottom border
border-bottom-widthSets the width of the bottom border
border-colorSets the color of the four borders
border-leftSets all the left border properties in one declaration
border-left-colorSets the color of the left border
border-left-styleSets the style of the left border
border-left-widthSets the width of the left border
border-rightSets all the right border properties in one declaration
border-right-colorSets the color of the right border
border-right-styleSets the style of the right border
border-right-widthSets the width of the right border
border-styleSets the style of the four borders
border-topSets all the top border properties in one declaration
border-top-colorSets the color of the top border
border-top-styleSets the style of the top border
border-top-widthSets the width of the top border
border-widthSets the width of the four borders
background-clipSpecifies whether an element's background, either the color or image, extends underneath its border
background-originDetermines the background positioning area
background-sizeSpecifies the size of the background images
fontSets all font properties
font-familyAllows for a prioritized list of font family names and/or generic family names to be specified for the selected element
font-sizeSpecifies the size of the font
font-styleAllows font style (italic or oblique) to be selected within a font-family
font-variantSelects a normal, or small-caps face from a font family
font-weightSpecifies the weight or boldness of the font
text-alignSpecifices the horizontal alignment of text
text-decorationSpecifies the decoration to be added to the text
text-indentSpecifies the indentation of the first line in a text block
text-transformControls the capitalization of the text
letter-spacingIncreases or decreases the space between characters in a text
word-spacingIncreases or decreases the space between words in a text
white-spaceSpecifies how white space inside an element is handled
text-shadowSpecifies the shadow effect added to text
text-overflowSpecifies whether an ellipsis displays when text content has overflowed its given layout area
word-wrapSpecifies whether or not the browser is allowed to break lines within words in order to prevent overflow when an otherwise unbreakable string is too long to fit
directionSets the base text direction and block-level elements and the direction that cells flow within a table row
border-collapseSelects the border model
border-spacingSpecifies the distance between the borders of adjacent cells
caption-sidePositions the the content of table-caption at the specified side
empty-cellsSpecifies how to render borders and backgrounds around cells that have no visible content.
table-layoutDefines the algorithm to be used to layout the table cells, rows and columns
outlineSets the outline properties
outline-colorSets the color of an outline
outline-styleSets the style of an outline
outline-widthSets the width of an outline
outline-offsetSets the space between an outline and the edge or border of an element
widthSpecifies the width of the content area of an element
heightSpecifies the height of the content area of an element
device-widthThe width of the screen in CSS pixels at zoom factor 1.0
device-heightThe height of the screen in CSS pixels at zoom factor 1.0
device-aspect-ratioDescribes the aspect ratio of the output device
colorSets the color of text
color-indexDescribes the number of entries in the color lookup table of the output device
monochromeDescribes the number of bits per pixel in a monochrome frame buffer
borderSets all the border properties in one declaration
border-bottomSets all the bottom border properties in one declaration
border-bottom-colorSets the color of the bottom border
border-bottom-styleSets the style of the bottom border
border-bottom-widthSets the width of the bottom border
border-colorSets the color of the four borders
border-leftSets all the left border properties in one declaration
border-left-colorSets the color of the left border
border-left-styleSets the style of the left border
border-left-widthSets the width of the left border
border-rightSets all the right border properties in one declaration
border-right-colorSets the color of the right border
border-right-styleSets the style of the right border
border-right-widthSets the width of the right border
border-styleSets the style of the four borders
border-topSets all the top border properties in one declaration
border-top-colorSets the color of the top border
border-top-styleSets the style of the top border
border-top-widthSets the width of the top border
border-widthSets the width of the four borders
Resources

> Kindle Format
> Forums
> Frequently Asked Questions