SPS Home   >   Dgreath   >   XHTML Frameset Reference

Extensible HTML Version 1.0 Frameset

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-frameset.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 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.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  frameset  noframes) [child of dtd

Common Attributes:
idimplied
internationalimplied
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 }

Common Attributes:
idimplied
internationalimplied
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 }

Common Attributes:
idimplied
internationalimplied

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 }

Common Attributes:
idimplied
href { establishes the base of relative uri references if other than the current document }
uriimplied
target { indicates which frame is referred to }
frame targetimplied

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 }

Common Attributes:
idimplied
internationalimplied
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 }

Common Attributes:
attrsimplied
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 }

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

Isindex Element—[deprecated]

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

Common Attributes:
coreattrsimplied
internationalimplied
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.

FRAMESET ELEMENTS

Frameset Element

ELEMENT] frameset (frameset  frame  noframes) { container for frames }

Common Attributes:
coreattrs
rows { specify the number and height of frame rows }
MultiLengthsimplied  ex. rows="100, *, 100"
cols { specify the number and width of frame columns }
MultiLengthsimplied  ex. cols="100, *"
onload { specify function to execute on load }
Scriptimplied
onunload { specify function to execute on unload }
Scriptimplied

Note: either the rows or cols attribute of a frameset element can be specified but not both together.

Note: framesets can be nested, where the outer level defines rows and the inner columns or the outer defines columns and the inner rows. 

Frame Element

ELEMENT] frame—empty { container for a tiled window within a frameset }

Common Attributes:
coreattrs
longdesc { specify network location of descriptive file }
uriimplied
name { specify name of frame }
frametargetimplied
src { specify network location of frame source }
uriimplied
frameborder { suppress frame border }
(="0")  { to suppress }
marginwidth { specify width of left & right margins  }
Pixelsimplied
marginheight { specify height of top & bottom margin }
Pixelsimplied
noresize { locks frame size }
(="noresize")—implied
scrolling
Scrollimplied

NOFRAMES ELEMENTS

Noframes Element

[ELEMENT] noframes (body) { alternate container for non frame-based rendering }

Common Attributes:
attrsimplied

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.

Note: only one noframes element is permitted.

Body Element

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

Common Attributes:
attrs
onload  { specify script to run on page load }
scriptimplied
onunload { specify script to run on page unload }
scriptimplied
background { specify network location of background image }
uriimplied
bgcolor { specify this page's background color }
colorimplied
text { specify this page's text color }
colorimplied
link { specify this page's unvisited link color }
colorimplied
vlink { specify this page's visited link color }
colorimplied
alink { specify this page's active link color }
colorimplied

Block:   div   p   h1   h2   h3   h4   h5   h6   address   pre   blockquote   ins   del   hr   center   ul   ol   dl   menu   dir   table   script   noscript  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 }

Common Attributes:
attrs
align { specifies horizontal alignment of  elements within this division }
textalignimplied

Hr Element

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

Common Attribures:
attrs
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

Br Element

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

Common Attributes:
coreattrs
clear { controls text placement relative to floating objects }
clearimplied

Note: the br element also serves as block element.

Center Element

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

Common Attributes:
attrs

Basefont Element

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

Common Attributes:
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 }

Common Attributes:
attrs

TEXT ELEMENTS

P Element

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

Common Attributes:
attrs
align { specifies horizontal alignment of cell contents }
textalignimplied

Note: renders in size 3 serif font.

H1 Element

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

Common Attributes:
attrs
align { specifies horizontal alignment of cell contents }
textalignimplied

Note: renders in size 6 bold serif font.

H2 Element

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

Common Attributes:
attrs
align { specifies horizontal alignment of cell contents }
textalignimplied

Note: renders in size 5 bold serif font.

H3 Element

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

Common Attributes:
attrs
align { specifies horizontal alignment of cell contents }
textalignimplied

Note: renders in size 4 bold serif font.

H4 Element

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

Common Attributes:
attrs
align { specifies horizontal alignment of cell contents }
textalignimplied

Note: renders in size 3 bold serif font.

H5 Element

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

Common Attributes:
attrs
align { specifies horizontal alignment of cell contents }
textalignimplied

Note: renders in size 2 bold serif font.

H6 Element

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

Common Attributes:
attrs
align { specifies horizontal alignment of cell contents }
textalignimplied

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 }

Common Attributes:
attrs

Note: renders in italic font.

Pre Element

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

Common Attributes:
attrs
width { specifies the number of characters per line }
numberimplied
xml:space { preserve whitespace }
(="preserve")—fixed

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 }

Common Attributes:
attrs
cite { specify network location of this source document - semantic only }
uriimplied

Ins Element

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

Common Attributes:
attrs
cite { specify network location of a document justifying the text insertion - semantic only}
uriimplied
datetime { specify the date of the insertion - semantic only }
datetimeimplied

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 }

Common Attributes:
attrs
cite { specify network location of a document justifying the text deletion - semantic only}
uriimplied
datetime { specify the date of the deletion - semantic only }
datetimeimplied

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 }

Common Attributes:
coreattrs
events
lang { specify the featured language }
languagecodeimplied
xml:lang { specify the featured language }
languagecodeimplied
dir { specify the direction of text flow }
txtdirrequired

Em Element

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

Common Attributes:
attrs

Note: renders in italic.

Strong Element

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

Common Attributes:
attrs

Note: renders in bold.

Dfn Element

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

Common Attributes:
attrs

Note: renders in italics.

Note: semantically used to indicate a definition.

Code Element

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

Common Attributes:
attrs

Note: renders in monospace font.

Note: semantically used to indicate program code.

Samp Element

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

Common Attributes:
attrs

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 }

Common Attributes:
attrs

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 }

Common Attributes:
attrs

Note: renders in italic font.

Note: semantically used to indicate a variable.

Cite Element

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

Common Attributes:
attrs

Note: renders in italic font.

Note: semantically used to indicate a source citation.

Abbr Element

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

Common Attributes:
attrs

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

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

Common Attributes:
attrs

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 }

Common Attributes:
attrs
cite { specify network address of source of the quote - semantic only}
uriimplied

Note: semantically used to indicate a quotation.

Sub Element

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

Common Attributes:
attrs

Note: renders as a subscript(like this)

Sup Element

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

Common Attributes:
attrs

Note: renders as a superscript(like this)

Tt Element

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

Common Attributes:
attrs

Note: render in monospace font.

I Element

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

Common Attributes:
attrs

Note: render in italic font

B Element

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

Common Attributes:
attrs

Note: render in bold font

Big Element

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

Common Attributes:
attrs

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

Small Element

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

Common Attributes:
attrs

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

U Element

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

Common Attributes:
attrs

Note: render with an underline.

S Element

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

Common Attributes:
attrs

Note: render with a strike through.

Strike Element

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

Common Attributes:
attrs

Note: render with a strike-through.

Font Element

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

Common Attributes:
coreattrs
i18n
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 }

Common Attributes:
attrs
accessibilty
charset { specify the character set of the anchor's target }
charsetimplied
type { specify the mimetype of the anchor's target }
contentypeimplied
name { specify the identity of the anchor }
bookmarkimplied
href { specify the network location of the anchor's target }
uriimplied { note: can point to a bookmark }
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 open in }
frametargetimplied

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

Note: 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: 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 }

Common Attributes:
attrs
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 netwok 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
name { specify the script name of the object }
snameimplied
tabindex { specify the tab order of the object }
numberimplied
align { specify horizontal alignment of object }
imgalignimplied
border { specify border width  }
pixelsimplied
hspace { specify side spacing outside of the border }
pixelsimplied
vspace { specify top & bottom spacing outside the border }
pixelsimplied

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

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

Common Attributes:
coreattrs
codebase { specify network location of applet's relative base }
uriimplied
archive { specify network locaton 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 browser's that don't support Java }
textimplied
name { specify this applet's script name }
snameimplied
width { specify applet's width }
lengthrequired
height { specify applet's height }
lengthrequired
align { specify applet's horizontal alignment }
imgalignimplied
hspace { specify side spacing outside applet's border  }
pixelsimplied
vspace { specify top & 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 { document identifier for this parameter }
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 }

Common Attributes:
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 }
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.

Noscript Element

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

Common Attributes:
attrsimplied

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 noscript element is both block and inline.

IMAGE ELEMENTS

Img Element

[INLINE ELEMENT] img—empty { Render images }

Common Attributes:
attrs
src { specify the network location of the image to be rendered }
urirequired
alt { specify text to be rendered if image is unavailable }
textrequired
name { specify scripting name }
snameimplied
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 }
mapnameimplied
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

Note: 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.

Map Element

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

Common Attributes:
i18n
events
id { specify the name of the map }
mapnamerequired
class { specify the CSS class for style characteristics }
classimplied
style { specify local style characteristics }
stylesheet;implied
title { specify a descriptive title for the map }
textimplied
name { specify the name of the map }
mapnameimplied

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

Area Element

[ELEMENT] area—empty [child of map]

Common Attributes
attrs
accessibilty
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

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 }

Common Attributes:
coreattrsimplied
longdesc { specify network location of a file describing the content of this element }
uriimplied
name {  } specify which frame to open into
frametargetimplied
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.

FORM ELEMENTS

Form Element

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

Common Attributes:
attrs
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"
name { specify the script name for this form }
snameimplied
enctype { specify the MIME media type of this form when method="post" }
contenttype  ex. ="application/x-www-form-urlencoded"
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
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

Note: form elements are block level and must not be nested.

Note: 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 }

Common Attributes:
attrs
accessibilty
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 }
onselect { specify script to execute when select is clicked }
scriptimplied
onchange { specify script to execute when input value is changed }
scriptimplied
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 }

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 }

Common Attributes:
attrs
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

Optgroup Element

[ELEMENT] optgroup (option) { option group }

Common Attributes:
attrs
disabled { specify that the option group is disabled on load  }
(="disabled")—implied
label { specify the label for the option group }
textrequired

Option Element

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

Common Attributes:
attrs
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

Textarea Element

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

Common Attributes:
attrs
accessibilty
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
onselect { specify the script function to execute when selected }
scriptimplied
onchange { specify the script function to execute when the content changes }
scriptimplied

Button Element

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

Common Attribures:
attrs
accessibilty
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

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 }

Common Attributes:
attrs

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 }

Common Attributes:
attrs
accesskey { specify keyboard character to get focus }
characterimplied
align { specify horizontal alignment of this legend }
lalignimplied

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

Label Element

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

Common Attributes:
attrs
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

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 }

Common Attributes:
attrs
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

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 }

Common Attributes:
attrs
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

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 }

Common Attributes:
attrs
compact { specify compact rendering of this list (not widely supported) }
(="compact")—implied

Note: renders identically as the ul element.

Dir Element—[Deprecated]

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

Common Attributes:
attrs
compact { specify compact rendering of this list (not widely supported) }
(="compact")—implied

Note: renders identically as the ul element.

Li Element

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

Common Attributes:
attrs
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

Dl Element

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

Common Attributes:
attrs
compact { specify compact rendering of this list (not widely supported) }
(="compact")—implied

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 }

Common Attributes:
attrs

Dd Element

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

Common Attributes:
attrs

TABLE ELEMENTS

Table Element

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

Common Attributes:
attrs
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

Note: The default units are screen pixels.

Caption Element

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

Common Attributes:
attrs
align { specify location of the table's caption }
calignimplied

Colgroup Element

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

Common Attributes:
attrs
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

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 }

Common Attributes:
attrs
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

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 }

Common Attributes:
attrs
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

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 }

Common Attributes:
attrs
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

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 }

Common Attributes:
attrs
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

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 }

Common Attributes:
attrs
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

* 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 }

Common Attributes:
attrs
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 }
number {default is 1 }
colspan { specify the number of columns to be merged }
number {default is 1 }
align { specifies horizontal alignment of cell content within the cell*}
cellhalign
valign { specifies vertical alignment of cell contents with the cell* }
cellvalign
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

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 }

Common Attributes:
attrs
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 }
number {default is 1 }
colspan {specifies the number of columns to be merged together }
number {default is 1 }
align { specifies horizontal alignment of cell contents within the cell* }
cellhalign
valign { specifies vertical alignment of cell contents within the cell* }
cellvalign
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

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] Bookmarkpcdata  { A unique document wide identifier.}
Creates an item in a list of nmtokens used as the targets for anchors. Attribute values of type ID and 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] 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 derived from an internal style element or external style sheet }

[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] FrameTargetnmtoken { specifies which which frame to render in }

_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
render in the named frame

Note: framename is the name of any child frame defined in a frameset. FrameNames can also be created by the name attribute of iframe. Reserved framenames begin with "_", named ones begin with a letter.

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] 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 the specification lists 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] MapNamenmtoken { links client side image map to image elements }

name of local map
uri of remote map file {not widely supported}

[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] Numberpcdata { one or more digits 0-9 }

[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 }

[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" }

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

[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 }

Generic Attributes

[ENTITY] attrs

coreattrs
{ core attributes common to most elements }
international
{common attributes needed for international character sets}
events
{ These attributes trigger event handlers }

[ENTITY] coreattrs { core attributes common to most elements }

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 typically rendered in a tooltip box that pops up when the mouse is over the element. }

Internationalization Attributes

[ENTITY] international {common attributes needed for international character sets}

lang
LanguageCodeimplied { backwards compatible language code }
xml:lang
LanguageCodeimplied  { language code as per XML 1.0 specification }
dir
TxtDirimplied  { direction for weak/neutral text }

Attributes for Common UI Events

[ENTITY] events { These attributes trigger event handlers }

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

Accessibility Attributes

[ENTITY] Accessibility

accesskey
KeyCharimplied { accessibility key character.  Best Practices suggests that when this property is defined, a suitable explanation should be included in the title property.}
tabindex
Numberimplied { tab ordering }
onfocus
Scriptimplied { the element got the focus }
onblur
Scriptimplied { the element lost the focus }

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"