SPS Home   >   Dgreath   >   XHTML Transitional Reference

Extensible HTML Version 1.0 Transitional

Updated to reflect HTML5 standards

Namespace = http://www.w3.org/1999/xhtml

For further information, see: http://www.w3.org/TR/xhtml1

This DTD module is identified by the PUBLIC and SYSTEM identifiers:

PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"

Normative Definitions

cdata
Character Data: A string consisting of one or more numbers or other characters representing data as specified in the entity definitions below. These character include US-ASCII codes, Latin-1 charset, Symbol charset, and Special Characters charsets. Cdata is never parsed but is rendered as presented, thus "<" and "&" are rendered as displayable characters. Line feeds are ignored while each carriage return and tab is replaced with a space. Browsers may ignore leading and trailing whitespace within the attribute value. CDATA attribute values are typically case-sensitive, though this is not the case with all attributes that take CDATA values.
pcdata
Parsed Character Data: A character string that can be read and interpreted by the user agent or server side application. The same characters allowed for cdata are acceptable. The left angle "<" is interpreted as the start of an element, and the ampersand "&" is interpreted as the start of an entity. Substitute &lt; and &amp; to over-ride this behavior.
nmtoken
Named tokens: arbitrarily assigned names that represent various members of a defined set of names in a controlled vocabulary. For example, the use of "en" to refer to English as a member of the set of all languages. Frequently these are described in a defined namespace.
implied
The attribute is optional and need not be defined. The implication refers to the default or inherited value that is applied if not otherwise specified.
required
The attribute must be defined.
fixed
The attribute is permanently defined and must not be changed. Its value is shown in the following parentheses.
empty
No closing tag is required and must be self closed, thus  <foo /> instead of the normal <foo></foo>.
deprecated
This element is presently supported however it is in disfavor and may be dropped from future specifications.  There are always suitable alternatives which should be used.
[ENTITY]
This denotes declaration of an XHTML entity. The entity name is immediately followed by its respective attribute list. Comments in curly braces provide additional descriptive information.
[ELEMENT]
This denotes declaration of an XHTML element. The element name is immediately followed by its respective child elements in parentheses followed by its attribute list. Comments in curly braces provide additional descriptive information.
[BLOCK ELEMENT]
This denotes declaration of an XHTML element. The element name is immediately followed by its respective child elements in parentheses followed by its attribute list. Comments in curly braces provide additional descriptive information. Block elements may not be nested inside other block elements but may contain inline elements.
[INLINE ELEMENT]
This denotes declaration of an XHTML element. The element name is immediately followed by its respective child elements in parentheses followed by its attribute list. Comments in curly braces provide additional descriptive information. Inline elements can be inside either block or inline elements, may contain other inline elements, and may not contain block elements unless specifically noted.
 

DOCUMENT ELEMENTS

Document Type Declaration

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Note: The text shown above must appear on the first lines of the document exactly as shown. Its only child is html.

Html Element

[ELEMENT] html (head body) [child of dtd

id { a document wide unique identifier }
idimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir  { direction for weak/neutral text }
txtDirimplied
xmlns { the namespace URI designates the document profile}
urifixed ( http://www.w3.org/1999/xhtml

Note: This element requires a head and body container. Theoretically, there could be a variety of named body elements for different purposes, however no present browsers support this capability.

 

HEAD ELEMENTS

Head Element

 [ELEMENT] head ( title base meta link style script object isindex ) [child of html] { container of document parameters }

id { a document wide unique identifier }
idimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
profile { profile is used to describe additional elements in addition to those declared in the namespace }
uriimplied

Note: Exactly one title element and a meta element to set the charset are required. The others are optional. There can only be one head container per html container.

Author's note: the profile attribute appears to be a hook included in XHTML to provide a catchall means to extend the function of the markup. There are three instances when a profile seems to be needed.  First, acceptable values for the rel and rev attributes provided in the anchor and link elements must be defined for them to be useful. W3C suggests some possible meanings but no real standard exists--yet. I have published an ontology in both html and xml/rdf as as early attempt at defining these. Second, XML namespaces must be declared before they can be used. For example, in the Dublin Core  DC:Author meta-element, the meaning of "Author" is defined in the "DC" namespace, so without an explicit reference to that namespace, "Author" has no meaning. Third, properly designed meta description requires the use of ontologies (controlled vocabularies) or structural specifications (complex datatyping such as URI). I have published a possible implementation of such a profile in both html and xml/rdf to demonstrate how it might be implemented.  While the use of this profile is open to general use, it should not be considered a standard and is subject to change. The author invites comments and suggestions.

Title Element

[ELEMENT] title (text) [child of head] { container for page title }

id: { a document wide unique identifier }
idimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied

Note: The title element is not considered part of the flow of text. It should be displayed, for example, as the page header when printed or in the window titlebar. Exactly one title is required per document.

Base Element

[ELEMENT] base—empty [child of head] { specify network location of this page }

id { a document wide unique identifier }
idimplied
href { establishes the base of relative uri references if other than the current document }
uriimplied
target { indicates which frame is referred to }
frametargetimplied

Note: This is really intended for dealing with framesets, ordinarily it isn't used.

Meta Element

[ELEMENT] meta—empty [child of head] { describe this document }

id { a document wide unique identifier }
idimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
http-equiv { treat this data as part of the http file header }
pcdataimplied
name { the subject of the triple }
pcdataimplied
content { the predicate of the triple }
pcdatarequired
scheme { the nature of the predicate }
pcdataimplied

Note: Meta tags provide a means to pass information about the nature of the document. Some search engines use various declarations to classify searches.  However, most meta information is not used in the indexing process. The content of a meta tag is defined by the external application that is evaluating it.

Note: the name attribute used in the Meta Elements is different from the name attribute used in other elements. Semantically, it is the subject of the triple, scheme describes the nature of the predicate, and content is the predicate of the triple.

Link Element

[ELEMENT] link—empty [child of head] { describe the relationship between this document and others }

id { a document-wide unique identifier }
idimplied
name { specify the identity of the link in the document.links array }
linksimplied
charset { specify the character set of this link's target }
charsetimplied
href { specify the network location of this link's target }
uriimplied
hreflang { specify the language of this link's target }
languagecodeimplied
type { specify the mimetype of this link's target }
contenttypeimplied
rel { specify the relationship between this document and the link's target }
linktypesimplied
rev { specify the reverse relationship between this document and the link's target }
linktypesimplied
media { specify the medium this link applies to }
mediadescimplied
target { specify the frame for this link's target to open in }
frametargetimplied

Relationship values can be used in principle:

  1. for document specific toolbars/menus when used with the link element in document head e.g. start, contents, previous, next, index, end, help;
  2. to link to a separate style sheet (rel="stylesheet");
  3. to make a link to a script (rel="script");
  4. by stylesheets to control how collections of html nodes are rendered into printed documents, or
  5. to make a link to a printable version of this document e.g. a PostScript or PDF version (rel="alternate" media="print".

Note: the rev and rel attributes describe the semantic relationship between two resources. For example rel="parent" and rev="child".  These relationships should be described in the document specified in the head element profile attribute.

Style Element

[ELEMENT] style (style rules) [child of head] { container for style elements }

id: { a document-wide unique identifier }
idimplied
title { specify an informative description of this element }
textimplied
type { specify mimetype of style elements }
contenttyperequired ex. "text/css"
media { specify which medium this sheet applies to }
mediadescimplied
xml:space { preserve whitespace }
(="preserve")—fixed ( 'preserve' )

Isindex Element—[deprecated]

[ELEMENT] isindex—empty  [child of head] { single-line text input control }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang {XML 1.0  language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
prompt { specify prompt text }
textimplied

Note: This element was intended to provide a means to provide user input into a script positioned in the head container that runs before the page loads. It is the only input element that can be placed in the head container. For example, it could prompt for a document name then run a script to load the selected document:

Alternatively, the use of the input element provides greater control options when positioned in a body container.

BODY ELEMENTS

Body Element

[ELEMENT] body (block  inline  form)[child of html] { container for document content }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
background { specify network location of background image }
uriimplied
bgcolor { specify this page's background color }
colorimplied
vlink { specify this page's visited link color }
colorimplied
alink { specify this page's active link color }
colorimplied
onload  { specify script to run on page load }
scriptimplied
onunload { specify script to run on page unload }
scriptimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Block:   div   p   h1   h2   h3   h4   h5   h6   address   pre   blockquote   ins   del   hr   center   ul   ol   dl   menu   dir   table   script   noscript   noframes   fieldset  isindex

Inline: span   ins   del   bdo   em   strong   dfn   code   basefont   samp   kbd   var   cite   abbr   a    acronym   q   sub   sup   tt   i   b   big   small   u   s   strike   font   object   applet   script  noscript    img   map   iframe   br   input   select   textarea   button   label

Note: inline elements are required to be contained within flow elements. Flow elements are prohibited inside inline elements and other flow elements except where specifically permitted.

Div Element

[BLOCK ELEMENT] div (block  inline  form) [child of body] { generic language/style container }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
align { specifies horizontal alignment of  elements within this division }
textalignimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Hr Element

[BLOCK ELEMENT] hr—empty [child of body] { horizontal rule }

id { a document-wide unique identifier }
idimplied
class { a  list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
align { specifies horizontal alignment of the rule }
talignimplied
noshade { specifies whether line will render flat or 3D }
(="noshade")—implied { shade is the default }
size { specifies the height of the line }
pixelsimplied
width { specifies the width of the line }
lengthimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Br Element

[INLINE ELEMENT] br—empty [child of body] { forced line break }

id { a document-wide unique identifier }
idimplied
class { a  list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
clear { controls text placement relative to floating objects }
clearimplied

Note: the br element also serves as block element.

Center Element

Not valid for HTML5 documents

[BLOCK ELEMENT] center (block  inline  form) [child of body] { center block level content }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeimplied
dir { direction for weak/neutral text }
txtDirimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Basefont Element

Not valid in HTML5 documents

[INLINE ELEMENT] basefont—empty) [child of body] { specify base font characteristics }

id { a document-wide unique identifier }
idimplied
size { specify text size }
textsizerequired
color { specify text color }
colorimplied
face { specify text face }
textfaceimplied

Note: the basefont element works as either a block or an inline element. It establishes a new size, color, and/or face from this point in the document until explicitly changed.

Span Element

[INLINE ELEMENT] span (text  inline) { generic language/style container }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

TEXT ELEMENTS

P Element

[BLOCK ELEMENT] p (text  inline) [child of body] { normal text container }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
align { specifies horizontal alignment of cell contents }
textalignimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in size 3 serif font.

H1 Element

[BLOCK ELEMENT] h1 (text  inline) [child of body] { most important heading }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
align { specifies horizontal alignment of cell contents }
textalignimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in size 6 bold serif font.

H2 Element

[BLOCK ELEMENT] h2 (text  inline) [child of body] { second most important heading }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeimplied
dir { direction for weak/neutral text }
txtDirimplied
align { specifies horizontal alignment of cell contents }
textalignimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in size 5 bold serif font.

H3 Element

[BLOCK ELEMENT] h3 (text  inline) [child of body] { third most important heading }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeimplied
dir { direction for weak/neutral text }
txtDirimplied
align { specifies horizontal alignment of cell contents }
textalignimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in size 4 bold serif font.

H4 Element

[BLOCK ELEMENT] h4 (text  inline) [child of body] { fourth most important heading}

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeimplied
dir { direction for weak/neutral text }
txtDirimplied
align { specifies horizontal alignment of cell contents }
textalignimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in size 3 bold serif font.

H5 Element

[BLOCK ELEMENT] h5 (text  inline) [child of body] { fifth most important heading }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
align { specifies horizontal alignment of cell contents }
textalignimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in size 2 bold serif font.

H6 Element

[BLOCK ELEMENT] h6 (text  inline) [child of body] { least important heading } 

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
align { specifies horizontal alignment of cell contents }
textalignimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in size 1 bold serif font.

Address Element

[BLOCK ELEMENT] address (text  inline  p  input  select  textarea  label  button)[child of body] { author's contact info }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in italic font.

Pre Element

[BLOCK ELEMENT] pre (text  inline) [child of body] { preformatted text }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
width { specifies the number of characters per line }
numberimplied
xml:space { preserve whitespace }
(="preserve")—fixed
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in monospace font.

Note: the pre element  may not contain the following inline elements: img, object, applet, big, small, sub, sup, font, or basefont 

Blockquote Element

[BLOCK ELEMENT] blockquote (block  inline  form) [child of body] { indents content }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
cite { specify network location of this source document - semantic only }
uriimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Ins Element

[BLOCK ELEMENT] ins (text  block  inline  form) { indicates inserted text }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
cite { specify network location of a document justifying the text insertion - semantic only}
uriimplied
datetime { specify the date of the insertion - semantic only }
datetimeimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders with an underline.

Note: ins is allowed in both block and inline content.

Caution:  it is inappropriate to include block content within an ins element occurring within inline content.

Del Element

[BLOCK ELEMENT] del (text  block  inline  form) { indicates deleted text }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
cite { specify network location of a document justifying the text deletion - semantic only}
uriimplied
datetime { specify the date of the deletion - semantic only }
datetimeimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders with a strike through.

Note: del is allowed in block and inline content.

Bdo Element

[INLINE ELEMENT] bdo (text  inline) { Bi Directional Override }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang  { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtdirrequired

Em Element

[INLINE ELEMENT] em (text  inline) { emphasis }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in italic.

Strong Element

[INLINE ELEMENT] strong (text  inline) { strong emphasis }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in bold.

Dfn Element

[INLINE ELEMENT] dfn (text  inline) { definitional }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in italics.

Note: semantically used to indicate a definition.

Code Element

[INLINE ELEMENT] code (text inline) {  program code }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in monospace font.

Note: semantically used to indicate program code.

Samp Element

[INLINE ELEMENT] samp (text  inline) { sample }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in monospace font.

Note: semantically used to indicate a sample of something for example, of program output.

Kbd Element

[INLINE ELEMENT] kbd ( text  inline) { keyboard }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in monospace.

Note: semantically used to indicate user input i.e. something user would type.

Var Element

[INLINE ELEMENT] var (text  inline) { variable }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in italic font.

Note: semantically used to indicate a variable.

Cite Element

[INLINE ELEMENT] cite (text  inline) { source citation }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders in italic font.

Note: semantically used to indicate a source citation.

Abbr Element

[INLINE ELEMENT] abbr (text  inline) { abbreviation }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: the title attribute can be used to indicate the meaning of the abbreviation which may render as a tooltip.

Note: semantically used to indicate an abbreviation.

Acronym Element

Not valid in HTML5 documents

[INLINE ELEMENT] acronym (text  inline) { acronym }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: the title attribute can be used to indicate the expanded acronym which may render as a tooltip.

Note: semantically used to indicate an acronym.

Q Element

[INLINE ELEMENT] q (text  inline){ inlined quote with external reference }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
cite { specify network address of source of the quote - semantic only}
uriimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: semantically used to indicate a quotation.

Sub Element

[INLINE ELEMENT] sub (text  inline) { subscript }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders as a subscript(like this)

Sup Element

[INLINE ELEMENT] sup (text  inline) { superscript }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders as a superscript(like this)

Tt Element

Not valid for HTML5 documents

[INLINE ELEMENT] tt (text  inline) { teletype }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: render in monospace font.

I Element

[INLINE ELEMENT] i (text  inline) { italics }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: render in italic font. Not semantically correct, the <em> "emphasis" element is preferred.

B Element

[INLINE ELEMENT] b (text  inline) { bold }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: render in bold font. Not semantically correct, use the <strong> element instead.

Big Element

Not valid in HTML5 documents

[INLINE ELEMENT] big (text  inline) { increase font size }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: increase font by one size. Does not increase above 7.

Small Element

[INLINE ELEMENT] small (text  inline){ reduce font size }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: reduce font by one size. Does not reduce below 1.

U Element

[INLINE ELEMENT] u (text  inline) { underline }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: render with an underline.

S Element

[INLINE ELEMENT] s (text inline){ strike-through }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: render with a strike through.

Strike Element

Not valid for HTML5 documents

[INLINE ELEMENT] strike (text  inline) { strike-through }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: render with a strike-through.

Font Element

Not valid for HTML5 documents

[INLINE ELEMENT] font (text inline) { local change to font }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
size { specify font size }
textsizeimplied
color { specify font color }
colorimplied
face { specify font face }
textfaceimplied

HYPERTEXT ELEMENTS

A Element

[INLINE ELEMENT] a (text inline) { the anchor element }

id { a document-wide unique identifier }
idimplied
name { specify the identity of the anchor in the document.anchors array }
anchorsimplied  (Note 1)
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
charset { specify the character set of the anchor's target }
charsetimplied
type { specify the mimetype of the anchor's target }
contentypeimplied
href { specify the network location of the anchor's target }
uriimplied { note: can point to a bookmark or call a script}
hreflang { specify the language of the anchor's target }
languagecodeimplied
rel { specify the relationship between this document and the target }
linktypesimplied
rev { specify the reverse relationship between this document and the target }
linktypesimplied
shape { specify the shape of the hotspot }
shapeimplied
coords { specify the coordinates of the hotspot }
coordsimplied
target { specify the frame for the anchor's target to render in }
frametargetimplied
accesskey { accessibility key character. }
keyCharimplied
tabindex { tab ordering }
numberimplied
onfocus [ the element got focus }
scriptimplied
onblur { the element lost focus ]
scriptimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note 1: Use of the name attribute, while still valid, is no longer favored and is being phased out in favor of  the id attribute (Ed. note).

Note 2:  anchors ("a") must not be nested.

Note 3: when the hotspot specifications shape and coords are not specified, the entire anchor content is a link; however, when specified only, that region is a link.

Note 4: the rev and rel attributes describe the semantic relationship between two resources. For example rel="parent" and rev="child".  These relationships should be described in the document specified in the head element profile attribute.

MULTIMEDIA ELEMENTS

Object Element

[INLINE ELEMENT] object (text  param  block  inline) { Embed active object }

id { a document-wide unique identifier }
idimplied
name { specify the identity of the object in the document.objects array }
objectsimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
declare { object is declared without being instantiated }
(="declare")—implied
classid { specify network location of this object's implementation }
uriimplied
codebase { specify network location of object's relative base }
uriimplied
data { specify network location of data needed by this object }
uriimplied
type { specify mimetype of the object's data }
contenttypeimplied
codetype { specify mime type of the object's code }
contenttypeimplied
archive { specify network location of object's archive }
urilistimplied
standby { specify text to display while the object is loading }
textimplied
height { specify object's height }
lengthimplied
width { specify object's width }
lengthimplied
usemap { specify name or network location of image map }
mapnameimplied
tabindex { specify the tab order of the object }
numberimplied
align { specify horizontal alignment of object }
imgalignimplied
border { specify border width  }
pixelsimplied
hspace { specify left and right side spacing outside of the border }
pixelsimplied
vspace { specify top and bottom spacing outside the border }
pixelsimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: param elements should precede other content with in the element. Parameters can also be expressed as attribute/value pairs on the object element itself when brevity is desired.

Applet Element

Not valid in HTML5 documents

[INLINE ELEMENT] applet (text  param  block  inline  ){ Embed Java Applet inline }

id { a document-wide unique identifier }
idimplied
name { specify the identity of the applet in the document.applets array }
appletsimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
codebase { specify network location of applet's relative base }
uriimplied
archive { specify network location of applet's archive file }
uriimplied
code { specify network location of applet's code file }
uriimplied
object { specify network location of the applet }
uriimplied
alt { specify alternate text for user agents that do not support Java }
textimplied
width { specify applet's width }
lengthrequired
height { specify applet's height }
lengthrequired
align { specify applet's horizontal alignment }
imgalignimplied
hspace { specify left and right side spacing outside applet's border  }
pixelsimplied
vspace { specify top and bottom spacing outside applet's border }
pixelsimplied

Note: one of code or object attributes must be present. Place param elements before other content. The use of this element is non preferred as the object element provides greater capability.

Param Element

[ELEMENT] param—empty [child of object applet] { supplies a named property value for this object }

id { a document wide unique identifier }
idimplied
name { the subject of the tuple }
pcdatarequired
value { the predicate of the tuple }
pcdataimplied
valuetype { specify the nature of the value }
nmtokenimplied (data or ref or object) see note below

Note:

  • data - (default) This means that the value submitted by the value attribute will be evaluated and passed as a string
  • ref - This means that the value submitted by the value attribute will be an unresolved URI
  • object - This means that the value submitted by the value attribute will refer to an object declaration

Note: In XML it would seem natural to follow RDF and support an abbreviated syntax where the param elements are replaced by attribute value pairs on the object start tag.

SCRIPTING ELEMENTS

Script Element

[BLOCK ELEMENT] script (pcdata) [child of head  body] { container for client side scripting }

id { a document wide unique identifier }
idimplied
charset { specify the character set used in the file indicated in the src attribute }
charsetimplied
type { specify the mimetype of the file indicated in the src attribute }
contenttyperequired ex. type="text/javascript"
language { specify the programming language and version, see note }
pcdataimplied ex. language="javascript1.5"
src { specify the network location of a file of valid functions and expressions }
uriimplied
defer { specifies that the script does not generate document content }
(="defer")—implied
xml:space { specifies whether whitespace should be preserved }
(="preserve")—fixed ( 'preserve' )

Note: the contents of the script container must be valid functions and expressions consistent with the programming language specified in the required type attribute. The script content within the tags is identical to the content of the external file. The script element is both block and inline.

Note: the language attribute has no specific purpose other than as a means to pass information to the script being called, therefore meaningful values depend on the code executing in that script. This can be used to call different functions depending on the type and version of the user agent.

Noscript Element

[BLOCK ELEMENT] noscript (block  inline  form) [child of body] { alternate content container for non script-based rendering }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeimplied
dir { direction for weak/neutral text }
txtDirimplied

Note: the noscript element should follow any block level script element to provide a suitable substitute for the functionality of the intended scripting if the user agent cannot render the script. The user agent will either execute the script or render the noscript depending on its capability but never both.  The noscript element is both block and inline.

IMAGE ELEMENTS

Img Element

[INLINE ELEMENT] img—empty { Render images }

id { a document-wide unique identifier }
idimplied
name { specify the identity of the image in the document.images array }
imagesimplied  (Note 1)
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied  
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
src { specify the network location of the image to be rendered }
urirequired
alt { specify text to be rendered if image is unavailable }
textrequired
longdesc { specify network location of a text file describing the image }
uriimplied
height { specify the height of the image }
lengthimplied
width { specify the width of the image }
lengthimplied
usemap { specify the name or network location of the client side image mapping file }
see note below—implied
ismap { specify the network location of a server side image map }
uriimplied
align { specify the horizontal alignment of the image }
imgalignimplied
border { specify the border thickness }
lengthimplied
hspace {specify the horizontal space outside the image border }
pixelsimplied
vspace { specify the vertical space outside the image border }
pixelsimplied
onload { image has successfully loaded }
scriptimplied
onerror { image has failed to load }
scriptimplied
onabort { user has aborted image loading }
scriptimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note 1: Use of the name attribute, while still valid, is no longer favored and is being phased out in favor of  the id attribute (Ed. note).

Note 2: To avoid accessibility problems for people who aren't able to see the image, you should provide a text description using the alt and longdesc attributes. In addition, avoid the use of server-side image maps.

The usemap attribute refers to the id attribute of the map element having the hotspot definitions. Though not widely supported, some user agents may support a uri pointing to a remote map description.

Map Element

[INLINE ELEMENT] map (area block) { Container for client-side image mapping }

id { a document wide unique identifier }
idrequired
class { a list of style classes }
classesimplied
style { associated style info }
stylesheet;implied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: although a number of elements can be held in this container, normally the only elements within are area and a elements. The map element is inline only.

Area Element

[ELEMENT] area—empty [child of map]

id { a document-wide unique identifier }
idimplied
name { specify the identity of the area in the document.links array }
linksimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 n language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
shape { specify the 'hotspot' shape }
shape ex. "rect"
coords { specify the 'hotspot' dimensions }
coordsimplied
href { specify the target of the 'hotspot' i.e. the document to open }
uriimplied
nohref { specifes that this 'hotspot' has no target }
(="nohref")—implied  
alt { specifies alternative text do display if no image is rendered }
textrequired
target { specifies where the specified document will open }
frametargetimplied
accesskey { accessibility key character }
keyCharimplied
tabindex { tab ordering }
numberimplied
onfocus { the element got the focus }
scriptimplied
onblur { the element lost the focus }
scriptimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: these can be placed in the same document or grouped in a separate document although this is not widely supported yet. A hotspot is simply an area on the image map of specified shape and dimension that when clicked loads the document specified in the href atttribute.

FRAME ELEMENTS

Iframe Element

[INLINE ELEMENT] iframe (block  inline  form){ inline subwindow }

id { a document wide unique identifier }
idimplied
name { specify the identity of the iframe in the document.frames array }
framesimplied
class { a list of style classes }
classesimplied  
style { associated style info }
styleSheetimplied  
title { advisory title/amplification rendered in a tooltip }
textimplied  
longdesc { specify network location of a file describing the content of this element }
uriimplied
src { specify the network location of the file to be opened }
uriimplied
frameborder { specifies if border to be suppressed }
(="0")—implied (displayed by default )
marginwidth { specify the space outside of the margin sides }
pixelsimplied
marginheight { specify the space outside of the margin top and bottom }
pixelsimplied
scrolling { specify whether scroll bars are enabled }
scrollimplied
align { specify horizontal alignment of the window }
imgalignimplied
height { specify the height of the window }
lengthimplied
width { specify the width of the window}
lengthimplied

Note: the iframe element allows web documents to be embedded in other web documents essentially creating a single frame frameset.

Frameset Element

Not valid for HTML5 documents

The frameset element is NOT a part of this specification.  See XHTML Frameset Reference.

Frame Element

Not valid for HTML5 documents

The frame element is NOT a part of this specification.  See XHTML Frameset Reference.

Noframes Element

Not valid for HTML5 documents

[BLOCK ELEMENT] noframes (block  inline  form) { alternate container for non frame-based rendering }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied  
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: the noframes element is a block element however its contents render only on user agents that either do not support frames or have frame rendering suppressed.  For example, It's used to provide a replacement for nav links that ordinarily would be rendered in another frame.

FORM ELEMENTS

Form Element

[ELEMENT] form (text  block  inline) [child of body] { form container }

id { a document-wide unique identifier }
idimplied
name { specify the script name for this form }
snameimplied  (Note 1)
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
action { specify the network location of the server side script that will process the form }
urirequired
method { specify the HTTP method to use to submit the form to the server side script }
(get or post) ex. ="get"
enctype { specify the MIME media type of this form when method="post" }
contenttype  ex. ="application/x-www-form-urlencoded"
accept { specify MIME media types acceptable for user input }
contenttypesimplied
accept-charset { specify character set acceptable in user input }
charsetsimplied
target { specify the frame where the results are to be rendered }
frametargetimplied
onsubmit { specify the client side script function to be executed when "submit" button is clicked }
scriptimplied
onreset { specify the client side script function to be executed when "reset" button is clicked } 
scriptimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note 1: Use of the name attribute, while still valid, is no longer favored and is being phased out in favor of  the id attribute (Ed. note). Note: form elements are block level and must not be nested.

Note 2: if a form includes a <input  type="file"> control, then  method="post" and enctype="multipart/form-data" is required.

Input Element

[INLINE ELEMENT] input—empty { input control }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
type { specify control type }
inputtypeimplied
name { specify script name }
snamerequired { for all types except "submit" and "reset" }
value { see notes below }
pcdataimplied
checked { specify that the control should be checked on load}
(="checked")—implied { only relevant for "checkbox" and "radio" controls }
disabled { specify whether the control is disabled on load }
(="disabled")—implied { cannot be used with "hidden" type controls }
readonly { specify whether value of the control can be modified } 
(="readonly")—implied { only relevant for "text" type controls }
size { specify the size of the input element }
numberimplied { cannot be used with "hidden" type controls }
maxlength { specify maximum number of characters that can be entered in a text box }
numberimplied { only relevant with "text" type controls }
src { specify network location of the file. }
uriimplied { only relevant with "image" type controls }
alt { specify alternate text to render if the image is not available }
textimplied { only relevant for "image" type controls  }
usemap { specify name or network location of client side map data }
mapnameimplied { only relevant with "image" type controls }
accept { specify acceptable mimetype of user input  }
contenttypesimplied { required with "file" type controls }
align { specify horizontal alignment of control }
imgalignimplied { only relevant with "image" type controls }
accesskey
keyCharimplied { accessibility key character.
tabindex
numberimplied { tab ordering }
onfocus
scriptimplied { the element got the focus }
onblur
scriptimplied { the element lost the focus }
onselect { specify script to execute when select is clicked }
scriptimplied
onchange { specify script to execute when input value is changed }
scriptimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note:

  • Value defines the text on the button for type="button", type="reset", and type="submit"
  • Value defines the symbolic result of the field passed to a script for type="image"
  • Value defines the result of the input element when clicked for type="checkboxes" and type="radio". The result is sent to the form's action URL.
  • Value defines the default value of the element for type="hidden", type="password", and type="text"
  • Value cannot be used with type="file"
  • Value is required with type="checkbox" and type="radio"

Select Element

[INLINE ELEMENT] select (optgroup  option) { drop down list control }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
name { specify script name }
snameimplied
size { specify the number of visible items in list }
numberimplied
multiple { specify to allow multiple item selection }
(="multiple")—implied
disabled { specify that the control is disabled on load }
(="disabled")—implied
tabindex { specify tab index order }
numberimplied
onfocus { specify the script function to execute when the list gets focus }
scriptimplied
onblur { specify the script function to execute when the list loses focus }
scriptimplied
onchange { specify script function to execute when the value of the selection changes }
scriptimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Optgroup Element

[ELEMENT] optgroup (option) { option group }

disabled { specify that the option group is disabled on load  }
(="disabled")—implied
label { specify the label for the option group }
textrequired
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Option Element

[ELEMENT] option (text) [child of optgroup] { selection choice }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
selected { specify that the option is preselected }
(="selected")—implied
disabled { specify that the option is to be disabled on load }
(="disabled")—implied
label { specify the label to be displayed }
textimplied
value { specifies the value to be sent to the server side script }
pcdataimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Textarea Element

[INLINE ELEMENT] textarea (text) { multi-line text field control }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
name { specify the script name of the control }
snameimplied
rows { specify the number of rows to display }
numberrequired
cols { specify the number of columns to display }
numberrequired
disabled { specify that the control is disabled on load }
(="disabled")—implied
readonly { specify that the content cannot be modified }
(="readonly")—implied
accesskey
keyCharimplied { accessibility key character.
tabindex
numberimplied { tab ordering }
onfocus
scriptimplied { the element got the focus }
onblur
scriptimplied { the element lost the focus }
onselect { specify the script function to execute when selected }
scriptimplied
onchange { specify the script function to execute when the content changes }
scriptimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Button Element

[INLINE ELEMENT] button (text  block  inline) { push button control }

id
idimplied { a document-wide unique id }
class
classimplied { a space separated list of classes }
style
styleSheetimplied { associated style info }
title
textimplied { advisory title/amplification rendered in a tooltip }
lang
languageCodeimplied { backwards compatible language code }
xml:lang
languageCodeimplied { language code as per XML 1.0 specification }
dir
txtDirimplied { direction for weak/neutral text }
name { specify the button's script name }
snameimplied
value { specify the initial value of the button }
pcdataimplied
type { specify the button type }
buttontypeimplied
disabled { specify that the button is disabled on load }
(="disabled")—implied
accesskey
keyCharimplied { accessibility key character.
tabindex
numberimplied { tab ordering }
onfocus
scriptimplied { the element got the focus }
onblur
scriptimplied { the element lost the focus }
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: the button element is legal either inside a form or as an inline element. This element differs from the input button in that image and/or text content can be placed inside the tags.

Note: the button element must not contain the following elements: a, form, iframe, input, select, textarea, label, or button.

Fieldset Element

[BLOCK ELEMENT] fieldset (text  legend  block  inline  form) { used to group form fields }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: only one legend element should occur in the content and if present should only be preceded by whitespace.

Note: the fieldset tag is valid within the following tags: blockquote, body, center, dd, div, fieldset, form, iframe, li, noframes, noscript, object, td, th

 Legend Element

[ELEMENT] legend (text  inline) [child of fieldset]{ fieldset label }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
accesskey { specify keyboard character to get focus }
characterimplied
align { specify horizontal alignment of this legend }
lalignimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: content is flow excluding a, form, form controls, iframe

Label Element

[INLINE ELEMENT] label (text  inline) { labels input controls }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
for { specify input control to bind this label to }
snameimplied  
accesskey { specify keyboard character to get focus }
characterimplied
onfocus { specify function to execute when label has focus }
scriptimplied
onblur { specify function to execute when label loses focus }
scriptimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: each label must not contain more than ONE field.  Label elements shouldn't be nested.

LIST ELEMENTS

Ul Element

[BLOCK ELEMENT] ul (li) [child of body]{ Unordered list }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
type { specify type of this list e.g disc, square, or circle }
ulstyleimplied
compact { specify compact rendering of  this list (not widely supported) }
(="compact")—implied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: Use the ul element when there is no semantic meaning to the order of list elements.

Ol Element

[BLOCK ELEMENT] ol (li) [child of body]{ Ordered list }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
type { specify type of this list e.g. 123 ABC etc }
olstyleimplied
compact { specify compact rendering of this list (not widely supported) }
(="compact")—implied
start { specify starting number of this list }
numberimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: use the ol element when there is semantic meaning to the order of list elements.

Menu Element—[Deprecated]

[BLOCK ELEMENT] menu (li) [child of body] { single column list }

id { a document-wide unique identifier }
idimplied
class{ a space separated list of classes }
classesimplied  
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
compact { specify compact rendering of this list (not widely supported) }
(="compact")—implied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders identically as the ul element.

Dir Element—[Deprecated]

Not valid in HTML5 documents

[BLOCK ELEMENT] dir (li) [child of body] { multiple column list }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied  
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
compact { specify compact rendering of this list (not widely supported) }
(="compact")—implied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: renders identically as the ul element.

Li Element

[ELEMENT] li (text  block  inline  form)[child of ol  ul  menu  dir ] { List element }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeimplied
dir { direction for weak/neutral text }
txtDirimplied
type { specifies type of list element, overrides the specification set in the ol or ul element }
ulstyle or olstyleimplied
value { specify the starting number for this item, overrides the specification set in the ol or ul element }
numberimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Dl Element

[BLOCK ELEMENT] dl (dt dd) [child of body] { definition list }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
compact { specify compact rendering of this list (not widely supported) }
(="compact")—implied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: use the dl element where there is a semantic relationship between dt and dd.

Dt Element

[ELEMENT] dt (text  inline) [child of dl] { dt contains the term to be defined }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { advisory title/amplification rendered in a tooltip }
languageCodeimpliedx
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Dd Element

[ELEMENT] dd (text  block  inline  form) [child of dl] { dd contains the term definition }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

TABLE ELEMENTS

Table Element

[BLOCK ELEMENT] table (caption  col  colgroup  thead  tfoot  tbody  tr ) [child of body] { container for table elements }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
summary { a text description of the table content }
textimplied
width { sets the overall width of the table  }
lengthimplied
border { sets the thickness of the frame around the table }
pixelsimplied
frame { specifies which parts of the frame around the table should be rendered }
tframeimplied
rules { specifies which rules to draw between cells }
trulesimplied
cellspacing { sets the thickness of the space between rows and colums }
lengthimplied
cellpadding { sets the thickness of the space between cell border and cell content }
lengthimplied
align { sets the alignment of the table relative to the page--does not affect cell contents }
talignimplied
bgcolor { sets the background color of the table }
colorimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: The default units are screen pixels.

Caption Element

[ELEMENT] caption (text  inline) [child of table] { the table's caption }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
align { specify location of the table's caption }
calignimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Colgroup Element

[ELEMENT] colgroup ( col ) [child of table] {  groups a set of col elements and specifies common characteristics }

id { a document-wide unique identifier }
idimplied
class { a space separated list of classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
span { specify the number of columns included in this group }
numberimplied (default is 1)
width { specify the width of columns in the group }
multilengthimplied
align { specifies horizontal alignment of cell content within the cells in this column group*}
cellhalignimplied
valign { specifies vertical alignment of cell content within the cells in this column group*}
cellvalignimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: colgroup allows the grouping of several semantically related columns together.

Note: use multiple colgroup sections when rules are needed between groups of table columns.

* align and valign override positioning set by THEAD TFOOT TBODY TR elements and is overridden by  TH and TD settings.

Col Element

[ELEMENT] col—empty [child of table  colgroup] { specifies common characteristics of a column }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
span { specifies the number of columns included in this definition }
numberimplied {default is 1 }
width { specify the width of each column }
multilengthimplied
align { specifies horizontal alignment of cell content within the cells in this column*}
cellhalignimplied
valign { specifies vertical alignment of cell content within the cells in this column*}
cellvalignimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: col elements define the alignment properties for cells in one or more columns. The width attribute specifies the width of the columns, e.g. width=64 width in screen pixels width=0.5* relative width of 0.5

The span attribute causes the attributes of one col element to apply to more than one column.

* align and valign override positioning set by THEAD TFOOT TBODY TR COLGROUP elements and is overridden by TH and TD settings.

Thead Element

[ELEMENT] thead (tr)[child of table]{ container for TR elements containing table headers }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
align { specifies horizontal alignment of cell content within cells in this section*}
cellhalignimplied
valign  { specifies vertical alignment of cell content within cells in this section*}
cellvalignimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: use to duplicate headers when breaking table across page boundaries, or for static headers when tbody sections are rendered in scrolling panel.

* align and valign positioning is overridden by the settings configured  by COLGROUP COL TR TH TD elements.

Tfoot Element

[ELEMENT] tfoot (tr)  [child of table ] { container for TR elements containing table footers }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
align { specifies horizontal alignment of cell content within cells in this section*}
cellhalignimplied
valign { specifies vertical alignment of cell content within cells in this section*}
cellvalignimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: use duplicate footers when breaking table across page boundaries, or for static footers when tbody sections are rendered in scrolling panel. 

* align and valign positioning is overridden by the settings configured  by COLGROUP COL TR TH TD elements.

Tbody Element

[ELEMENT] tbody (tr) [child of table] { container for the TR elements containing table data }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
align { specifies horizontal alignment of cell content within cells in this section*}
cellhalignimplied
valign { specifies vertical alignment of cell content within cells in this section*}
cellvalignimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: use multiple tbody sections when rules are needed between groups of table rows.

* align and valign positioning is overridden by the settings configured  by COLGROUP COL TR TH TD elements.

Tr Element

[ELEMENT] tr (th | td) [child of thead  tfoot  tbody  table] {container for th and td elements--table rows }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
align { specifies horizontal alignment of cell content within cells in this row*}
cellhalignimplied
valign { specifies vertical alignment of cell content within cells in this row*}
cellvalignimplied
bgcolor { specifies the background color of this row }
colorimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

* align and valign override positioning set by THEAD TFOOT TBODY elements and is overridden by the COLGROUP, COL,  TH and TD settings.

Th Element

[ELEMENT] th (text  block  inline  form) [child of tr]{ container for column header }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classesimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeXmlimplied
dir { direction for weak/neutral text }
txtDirimplied
abbr { provide an abbreviated form of cell contents }
textimplied
axis { see note below }
pcdataimplied
headers { see note below  }
pcdataimplied
scope { see note below }
scopeimplied
rowspan { specify the number of rows to be merged }
numberimplied {default is 1 }
colspan { specify the number of columns to be merged }
numberimplied {default is 1 }
align { specifies horizontal alignment of cell content within the cell*}
cellhalignimplied
valign { specifies vertical alignment of cell contents with the cell* }
cellvalignimplied
nowrap { specify whether cell content is allowed to wrap }
(="nowrap")—implied { default is wrap }
bgcolor { specify the background color of this cell }
colorimplied
width { specify the width of this cell }
lengthimplied
height { specify the height of this cell }
lengthimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: The headers attribute specifies a space-separated list of header cells that provide header information for the current cell. It references the id attributes of the headers. This is used most often to make tables more accessible, for example the header information might be spoken before each cell in a non-visual user agent.

Note: The axis attribute is used to place the cell into conceptual categories that can be considered to form axes in an n-dimensional space. This allows the user agent to then display the categorized cells in various ways.

Note: The scope attribute specifies the table cells that the current cell provides header information for. A value of col indicates that the cell is a header for the the rest of the column below it. A value of colgroup indicates that the cell is a header for its current column group. A value of row indicates that that the cell contains header information for the rest of the row it is in. A value of rowgroup indicates that the cell is a header for its row group. This attribute might be used in place of the header attribute and is useful for rendering assistance by nonvisual browsers. This attribute was added very late to the HTML 4 specification so support for this attribute is minimal.

* align and valign override positioning set by TR THEAD TFOOT TBODY COL COLGROUP elements.

Td Element

[ELEMENT] td (text  block  inline  form) [child of tr]{ container for table data i.e. a table cell }

id { a document-wide unique identifier }
idimplied
class { a list of style classes }
classimplied
style { associated style info }
styleSheetimplied
title { advisory title/amplification rendered in a tooltip }
textimplied
lang { backwards compatible language code }
languageCodeimplied
xml:lang { XML 1.0 language code }
languageCodeimplied
dir { direction for weak/neutral text }
txtDirimplied
abbr { provide an abbreviated form of cell contents }
textimplied
axis { see note below }
pcdataimplied
headers { see note below  }
pcdataimplied
scope { see note below }
scopeimplied
rowspan { specifies the number of rows to be merged together }
numberimplied {default is 1 }
colspan {specifies the number of columns to be merged together }
numberimplied {default is 1 }
align { specifies horizontal alignment of cell contents within the cell* }
cellhalignimplied
valign { specifies vertical alignment of cell contents within the cell* }
cellvalignimplied
nowrap { specifies whether cell content is allowed to wrap  }
(="nowrap")—implied { default is wrap }
bgcolor { specifies the background color of this cell }
colorimplied
width { specifies the width of this cell }
lengthimplied
height { specifies the height of this cell }
lengthimplied
onclick { a mouse button was clicked }
scriptimplied
ondblclick { a mouse button was double clicked }
scriptimplied
onmousedown { a mouse button was pressed down }
scriptimplied
onmouseup { a mouse button was released }
scriptimplied
onmouseover { a mouse was moved onto the element }
scriptimplied
onmousemove { a mouse was moved over the element }
script;implied
onmouseout { a mouse was moved away from the element }
scriptimplied
onkeypress { a key was pressed and released }
scriptimplied
onkeydown { a key was pressed down }
scriptimplied
onkeyup { a key was released }
scriptimplied

Note: The headers attribute specifies a space-separated list of header cells that provide header information for the current cell. It references the id attributes of the headers. This is used most often to make tables more accessible, for example the header information might be spoken before each cell in a non-visual user agent.

Note: The axis attribute is used to place the cell into conceptual categories that can be considered to form axes in an n-dimensional space. This allows the user agent to then display the categorized cells in various ways.

Note: The scope attribute specifies the table cells that the current cell provides header information for. A value of col indicates that the cell is a header for the the rest of the column below it. A value of colgroup indicates that the cell is a header for its current column group. A value of row indicates that that the cell contains header information for the rest of the row it is in. A value of rowgroup indicates that the cell is a header for its row group. This attribute might be used in place of the header attribute and is useful for rendering assistance by nonvisual browsers. This attribute was added very late to the HTML 4 specification so support for this attribute is minimal.

* align and valign override positioning set by TR THEAD TFOOT TBODY COL COLGROUP elements.

ENTITY DECLARATIONS

Internal Names

[ENTITY] Anchorsnames  { The document.anchors Array }
Creates a named instance of an item or alternatively points to a named item in the document.anchors array for JavaScript. Can also serve as the target for anchors.

[ENTITY] Appletsnames  { The document.applets Array }
Creates a named instance of an item or alternatively points to a named item in the document.applets array for JavaScript.

[ENTITY] ButtonTypenmtoken { the type of button }

submit {default}
causes the current values of all form elements to be submitted to the server script
button
causes no default behavior, use various event triggers (i.e. onclick) to call client scripts
reset
causes a reset of all form elements to initial values

[ENTITY] CAlignnmtoken { table caption alignment }

top {default}
top center placement
left
top left placement
right
top right placement
bottom
bottom center placement

[ENTITY] CellHAlignnmtoken { horizontal alignment of table cell contents }

left (default)
align along left side of cell
center
align along centerline of cell
right
align along right side of cell
justify
align along both sides of cell
char
align on a specified character

If align="char" then two additional attributes are available:

char { specify alignment character }
characterimplied (default: ex. char=".")
charoff { specify offset distance in pixels or percent }
lengthimplied ex. charoff="25" or charoff="50%"

Note: the char option is not widely supported and should not be relied on.

[ENTITY] CellVAlignnmtoken { vertical alignment attributes for cell contents }

middle (default)
center between top and bottom of cell borders
top
position at top of cell
bottom
position at bottom of cell
baseline
align with adjacent text

[ENTITY] Classpcdata {a class definition derived from an internal style element or external style sheet consisting of a selector/attribute pair }

[ENTITY] Classesnmtoken { a space delimited list of classes }

[ENTITY] Clearnmtoken { controls text placement relative to floating objects }

none (default) Note: limited browser support for this attribute
no float
left
float to left
right
float to right
all
float left and right

[ENTITY] Colornmtoken { specify entity color using sRGB: #RRGGBB as Hex values or by ColorName }

[ENTITY] Coordspcdata { comma separated list of  coordinate pairs or triplets }

left x, top y, right x, bottom y 
specify TL and BR corner of rectangle
center x, center y, radius
 specify center coordinate and radius of circle
x1, y1, x2, y2,  ... xn, yn, x1, y1
specify a list of coordinate pairs describing a polygon, last one same as the first to close

[ENTITY] Framesnames  { the window.frames array }
Points to a named item in the window.frames array. As the child frame of a frameset, can also serve as a destination for target attributes. The value of the name is established by a <frame> element in a <frameset> or by the name attribute of an iframe element..  

[ENTITY] FrameTargetnmtoken { specifies which which frame to render in }
Can refer to several relative targets or to named frames. 

_self (default)
render in this frame/document
_top
opens the child frame into a full browser window (essentially breaking the frame out of the frameset).
_parent
render in the frameset document containing the frame
_blank
opens a new window and renders in that window.
framename
framesimplied render in a named instance of a frame

Note: the values _parent, _self, and _top are only meaningful in the context of a framed (frameset) document and do not open a new window.

[ENTITY] Idpcdata  { A unique document wide identifier }
Id is used to connect to the entity by either style or scripting. Attribute values of type ID  must begin with a letter in the range A-Z or a-z and may be followed by letters (A-Za-z), digits (0-9), hyphens ("-"), underscores ("_"), colons (":"), and periods ("."). These values are case-sensitive.

[ENTITY] Imagesnames  { the document.images array}
Creates a named instance of an item or alternatively points to a named item in the document.images array for JavaScript.

[ENTITY] InputTypenmtoken { specify a control for user input }

text (default)
Single line text input
password
password box input
checkbox
single option selection (one of one)
radio
multiple option selection (one of several)
submit
form submission button
reset
form reset button
file
file uploader 
hidden
passes parameter without rendering
image
image button
button
general purpose button

[ENTITY] ImgAlignnmtoken { image alignment within document }

top
align top of  image with top of adjacent object
middle
align center of image with bottom of adjacent object
bottom (default)
align bottom of image with bottom of adjacent object
left
align left side of  image at the left, then, float text around it
right
align right side of  image at right, then float text around it

[ENTITY] LAlignnmtoken { legend align }

left (default)
render top left
center
render top center
right
render top right

Note: while this specification defines top, bottom, left, and right as legal values, the browsers only respond to left, center, and right.

[ENTITY] Lengthpcdata { pixels or nn% for percentage length }
Length attribute values may be either an integer--interpreted as a number of pixels--or a percentage of the horizontal or vertical space. The value 50% means half the available space while 50 means 50 pixels.

[ENTITY] Linksnames  { the document.links array }
Creates a named instance of an item or alternatively points to a named item in the document.links array for JavaScript.

[ENTITY] MediaDescnmtoken  { single or comma-separated list of user agent types:

screen
web browser
tty
TDD machine for hearing impared
tv
WebTV
projection
video projection devices
handheld
cell phones, PDA, etc.
print
printers
braille
brailers
aural
audible screen readers
all
all user agents

[ENTITY] MultiLengthpcdata  { Length or relative }
MultiLength attribute values may be an integer in pixels, a percentage of the horizontal or vertical space, or a relative length expressed as i* where i is an integer. In allotting space, a browser first allots pixel and percentage lengths, then divides the remaining space among all elements with a relative length. An element with a length of 3* will be allotted three times the space of an element with length 1*. The value * is equivalent to 1* and is often used to mean "fill the remaining space."

A MultiLengths value is a comma-separated list of MultiLength values.

[ENTITY] Namespcdata  { JavaScript compatable identifier.}
Attribute values of type NAME must comply with JavaScript identity conventions (e.g. begin with a letter in the range A-Z or a-z and may be followed by letters (A-Za-z), digits (0-9), hyphens ("-"), underscores ("_"), colons (":"), and periods ("."). These values are case-sensitive.)

[ENTITY] Numberpcdata { one or more digits 0-9 }

[ENTITY] Objectsnames  { The document.objects Array }
Creates a named instance of an item or alternatively points to a named item in the document.objects array for JavaScript.

[ENTITY] OLStylenmtoken  { ordered (numbered) list numbering style }

"1" (default)
Arabic numbers (1, 2, 3, ...)
"a"
lower case alphabet (a, b, c, ...)
"A"
upper case alphabet (A, B, C, ...)
"i"
lower case Roman numerals (i, ii, iii, ...)
"I"
upper case Roman numerals (I, II, III, ...)

The style is applied to the sequence number, which, by default, is reset to "1" for the first list item in an ordered list.

[ENTITY] Pixelspcdata { integer representing the length in pixels }

[ENTITY] Scriptpcdata  { script expression or function call in the form:  javascript:myfunction() }

[ENTITY] Scopenmtoken { Scope is simpler than headers attribute for common tables }

row
scope includes all cells in this row
col
scope include all cells in this column
rowgroup
scope includes all cells in this row group <tbody>
colgroup
scope includes all cells in this column group <colgroup>

|[ENTITY] Scrollnmtoken { specify scrolling behavior }

auto
display scrollbars if the source document is larger than the window, suppresses otherwise
yes
display scrollbars
no
suppress scrollbars

[ENTITY] Shapenmtoken { hotspot definition for image maps }

rect
any rectangular area
circle
any circular area
poly
any odd shaped area
default
any area not defined as rect, circle, or poly

[ENTITY] Snamepcdata  { A unique document wide identifier.}
Creates an item in a list of nmtokens used to connect to elements for client and server scripting. Attribute values of type NAME must begin with a letter in the range A-Z or a-z and may be followed by letters (A-Za-z), digits (0-9), hyphens ("-"), underscores ("_"), colons (":"), and periods ("."). These values are case-sensitive.

[ENTITY] StyleSheetpcdata  { style sheet data from either internal or external styling }

Each element in a document has a style attribute that is configured as an associative array consisting of one or more of the following array elements. The following table shows the valid form for use in XHTML style statements and in Cascading Style Sheets (CSS). In addition, the valid JavaScript property name is shown as well. These are NOT interchangeable (a color specification in the style attribute uses the first form while a JavaScript event in the same element uses the second form). If a value is undefined, the element will inherit the value of its container element, and then repeating that process until the top level container (e.g. <body>) is reached. 

XHTML/CSS
Attribute Value
Equivalent
JavaScript Property
Purpose or Function
background-color backgroundColor Sets the element's background color
color color Sets the element's foreground color
text-align textAlign Set text element's horizontal alignment
text-transform textTransform Set text capitalization
text-decoration textDecoration Set text effects
text-indent textIndent Set paragraph indentation
text-shadow textShadow Set text shadowing
letter-spacing letterSpacing Set the spacing between characters within words
word-spacing wordSpacing Set the spacing between words
vertical-align verticalAlign Set the vertical alignment between elements
line-height lineHeight Set the leading between lines of text
outline outline Sets configuration of an outline around a text element
font-family fontFamily Set font face (i.e Arial, Times New Roman)
font-size fontSize Set font size (height)
font-weight fontWeight Set font weight (i.e normal, bold)
font-style fontStyle Set font style (i.e. normal, italic)
font-variant fontVariant Set font variant (i.e. small caps)
padding padding Set spacing between element and surrounding border
padding-top paddingTop Set spacing between element and top border
padding-right paddingRight Set spacing between element and right border
padding-bottom paddingBottom Set spacing between element and bottom border
padding-left paddingLeft Set spacing between element and left border
border-width borderWidth Set width of the region between the element's padding and margins
border-top-width borderTopWidth Set width of the region between the element's padding and top margin
border-right-width borderRightWidth Set width of the region between the element's padding and right margin
border-bottom-width borderBottomWidth Set width of the region between the element's padding and bottom margin
border-left-width borderLeftWidth Set width of the region between the element's padding and left margin
border-color borderColor Set color of the region between the element's padding and margins
border-top-color borderTopColor Set color of the region between the element's padding and top margin
border-right-color borderRightColor Set color of the region between the element's padding and right margin
border-bottom-color borderBottomColor Set color of the region between the element's padding and bottom margin
border-left-color borderLeftColor Set color of the region between the element's padding and left margin
border-style borderStyle Set style of the region between the element's padding and margins
border-top-style borderTopStyle Set style of the region between the element's padding and top margin
border-right-style borderRightStyle Set style of the region between the element's padding and right margin
border-bottom-style borderBottomStyle Set style of the region between the element's padding and bottom margin
border-left-style borderLeftStyle Set style of the region between the element's padding and left margin
border-top borderTop Set color, style, and width of the region between the element's padding and top margin
border-right borderRight Set color, style, and width of the region between the element's padding and right margin
border-bottom borderBottom Set color, style, and width of the region between the element's padding and bottom margin
border-left borderLeft Set color, style, and width of the region between the element's padding and left margin

[ENTITY] TAlignnmtoken { horizontal placement of element relative to document }

left
align at left side of document or context
center
align in the center of document or context
right
align at right side of document or context

[ENTITY] Textcdata  { text is a sequence of characters representing renderable content. }
Legal characters include either the tab, carriage return, line feed, or any of the characters of Unicode

[ENTITY] TextAlignnmtoken  {for p, div, h1-h6 elements }

left
Align text left
center
Align text in center
right
Align text right
justify
Align text on both left and right

Note: the default is align="left" for ltr headings, align="right" for rtl headings

[ENTITY] TextSizenmtoken { specify the absolute or relative height of text }

1 | 2 | 3 | 4 | 5 | 6 | 7
absolute size
+1 | +2 | +3 | +4 | +5 | +6 | +7
relative increase
-1 | -2 | -3 | -4 | -5 | -6 | -7
relative decrease

Note: relative values will not increase the size above seven or reduce size below one.

[ENTITY] TFramenmtoken { specifies which sided of the table  frame should be rendered }

box (default)
top, bottom, left, and right
border
top, bottom, left, and right
above
top only
below
bottom only
hsides
top and bottom only
lhs
left side only
rhs
right side only
vsides
left and right sides only
void
no sides

[ENTITY] TRulesnmtoken { defines which rules to draw between cells in a table }

none
render no rules
rows
render horizontal rules between rows
cols
render vertical rules between columns
groups
render horizontal and vertical rules between thead, tbody, tfoot, and colgroup sections
all
render horizontal and vertical rules between rows and columns

Note: default conditions - if rules is not specified and border is absent or border="0" assume "none" otherwise "all"

[ENTITY] TxtDirnmtoken { used for p, headings, bdo}

ltr
Left to Right
rtl
Right to Left

|[ENTITY] TextFacenmtoken { specify the font face }

serif (default)
Sample
sans serif
Sample
monospace
Sample
cursive
Sample
symbol
Sample
any named face

[ENTITY] ULStylenmtoken  { unordered list bullet styles }

disc {default}
filled in circle
square
filled in square
circle
open circle

External Names and References

[ENTITY] Charsetnmtoken  { a character encoding per RFC-2045, for a complete list of recognized types see IANA Character Sets e.g. "US-ASCII" or "UTF-8"}

[ENTITY] Charsetsnmtoken { a space separated list of charset }

[ENTITY] ContentTypenmtoken  { media type per RFC-2046, for a complete list of recognized types see IANA Media Types }

[ENTITY] ContentTypesnmtoken { comma-separated list of ContentType }

[ENTITY] Datetimepcdata  { date and time information. ISO-8601
Date format: YYYY-MM-DDThh:mm:ssTZD

[ENTITY] LanguageCodenmtoken { a language code per RFC-3066 e.g. "en" or "en-US" }
Historically, language identification codes have been inconsistently rendered along the lines of RFC-3066 using ISO-639 for language name codes and ISO-3166 for country name codes and considerable variation has been normal. There has been some usage of fully spelled out names (i.e. "english") in some contexts. 

[ENTITY] LanguageCodeXml—nmtoken { a language code per the XML 1.0 specification }
The XML 1.0 specification states that language identification codes shall be strictly rendered according to RFC-3066 using ISO-639 for language name codes and ISO-3166 for country name codes. 

[ENTITY] LinkTypesnmtoken { space-separated list of link types }
Options could include alternate | stylesheet | start | next | prev | contents | index | glossary | copyright | chapter | section | subsection | appendix | help | bookmark depending on profile definitions.

[ENTITY] KeyCharnmtoken { a single textual character corresponding to the keys on the keyboard }
On MS Windows machines the user presses the [ALT] key and then this key, on Apple/McIntosh machines, the [CMD] key and this key. 

[ENTITY] URIpcdata  { a Uniform Resource Identifier, see RFC-2396 }

[ENTITY] UriListpcdata  { a space separated list of URI }

Character Mnemonic Entities

[ENTITY] HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent"

[ENTITY] HTMLsymbol PUBLIC "-//W3C//ENTITIES Symbols for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent"

[ENTITY] HTMLspecial PUBLIC "-//W3C//ENTITIES Special for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent"

[ENTITY] HTMLspecial PUBLIC "-//W3C//ENTITIES Standard Colors for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-standard-colors.ent"