|
Functional overview
|
|
| Text structuring
|
|---|
| Hn | headings
| | DIV | division
| | CENTER | centered division
| | P | paragraphs
| | BR | line break
| | PRE | preformatted text
| | HR | horizontal rule
|
|
| Document header
|
|---|
| TITLE | document title
| | META | meta information, client pull
| | LINK | related resources
| | SCRIPT | script statements
| | STYLE | style information
|
|
| Physical text styles
|
|---|
| B | bold
| | BIG | large font
| | I | italics
| | SMALL | small font
| | S, STRIKE | strikethrough
| | SUB | subscript
| | SUP | superscript
| | TT | fixed width
| | U | underlined
| | BASEFONT | set base font size
| | FONT | change font size or colour
| | BLINK | blinking text
| | NOBR | inhibit line breaks
| | WBR | soft word break
|
|
|
|
| Links and multimedia
|
|---|
| A | hypertext link
| | IMG | inlined image
| | MAP | client-side image map
| | AREA | client-side image map area
| | BGSOUND | background sound
| | OBJECT | inlined object
| | PARAM | parameters for object
| | EMBED | inlined object
|
|
| Lists
|
|---|
| OL | ordered (numbered) list
| | UL | unordered list
| | LI | list item
| | DIR | directory list
| | MENU | menu list
| | DL | definition list
| | DT | term
| | DD | definition
|
|
|
|
|
Tags
The Mode column in the tables below contains the HTML mode that recognizes the tag or attribute. Elements recognized in strict
mode will also be recognized in tolerant mode, but elements marked as
tolerant will not be recognized in strict mode.
| Tag | Explanation | Mode
|
|---|
| <!--comment-->
| Includes a comment in the HTML source. Any text or tags within the comment
are ignored by the browser.
| Strict
| | <!--comment-- [--comment--] >
| The correct format of a HTML comment construct:
- The comment starts with <!--
- Any number of characters not containing --
- The first comment is terminated by --
- Optional whitespace (spaces, newlines)
- Either another comment starting with --, continue with step 2
or the terminating >
So this is a correct comment:
<!--This is a comment-- -->this<- is another comment-- >
But this is not:
<!--This is a comment---->
(The second comment was started but never ended).
| Strict
| | <!--comment->
| An incorrect comment format, unfortunately used on many pages. The
comment is terminated by the first -> found.
| Compatible
|
| Tag | Explanation | Mode
|
|---|
| <A> ... </A>
| Hyperlink anchor, specifies either a link to another location, or a named
location within a page.
| Strict
| | Attribute | Explanation | Mode
|
|---|
| COORDS="nn,nn,nn,..."
| Can only appear within a OBJECT element
Lists the coordinates that describe the hot area of the object.
The number of coordinates depends on the shape:
| SHAPE | COORDS
|
|---|
| RECT
| needs 4 coordinates: x,y of upper left and x,y of bottom right corners
if the rectangle
| | CIRC
| needs 3 coordinates: x,y of the center of the circle and a radius
| | POLY
| needs at least 3 pairs of x,y coordinates of the corners of the polygon
| | DEFAULT
| no coordinates are needed for default
|
| Tolerant (HTML 3.0)
| | HREF="url"
| Specifies a destination for the hyperlink. "url" can be one of the following:
- Full URL
- a fully specified (absolute) URL, like
http://www.amitrix.com/index.html
- Filename
- a filename (or path with filename). This specifies a location
relative to the address of the page (but see BASE).
- #name
- the name of a location in the same page
| Strict
| | NAME="name"
| Defines a name in this page. You can point directly to this name using an
anchor with HREF="url#name"
| Strict
| SHAPE=RECT SHAPE=CIRC SHAPE=POLY SHAPE=DEFAULT
| Can only appear within a OBJECT element
Specifies the shape of the hot area of the object.
Instead of the 4-letter abbreviations,
the full words may be used (RECTANGLE, CIRCLE, POLYGON).
DEFAULT becomes active if no other area was selected.
| Tolerant (HTML 3.0)
| | TARGET="name"
| The name of the frame where to display the document linked to.
If the name does not exist, a new window will be opened.
The following magic names, beginning with an underscore character,
are recognized:
| _blank | The document is displayed in a new window.
| | _self | Target is the same window or frame that the
anchor appears in. This is the default, unless overridden by the
BASE tag.
| | _parent | Target is the window or frame containing
the frame that contains the anchor.
| | _top | Target is the entire browser window.
|
| Tolerant (NS)
| | TITLE="title"
| Defines the title to show when the mouse is over the hyperlink. By default
the URL of the destination is shown.
| Strict
| |
| Tag | Explanation | Mode
|
|---|
| <ADDRESS> ... </ADDRESS>
| Specifies a (mail) address. Typically rendered in italics.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <AREA>
| Can only appear within a MAP element
Specifies a hot area with a client-side image map.
| Strict
| | Attribute | Explanation | Mode
|
|---|
| COORDS="nn,nn,nn,..."
| Lists the coordinates that describe this area. The number of coordinates
depends on the shape:
| SHAPE | COORDS
|
|---|
| RECT
| needs 4 coordinates: x,y of upper left and x,y of bottom right corners
if the rectangle
| | CIRC
| needs 3 coordinates: x,y of the center of the circle and a radius
| | POLY
| needs at least 3 pairs of x,y coordinates of the corners of the polygon
| | DEFAULT
| no coordinates are needed for default
|
| Strict
| | HREF="url"
| Specifies the URL that this area of the map links to.
| Strict
| | NOHREF
| Specifies that this area does not link to an URL.
| Strict
| SHAPE=RECT SHAPE=CIRC SHAPE=POLY SHAPE=DEFAULT
| Specifies the shape of the hot area. Instead of the 4-letter abbreviations,
the full words may be used (RECTANGLE, CIRCLE, POLYGON).
DEFAULT becomes active if no other area was selected.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <B> ... </B>
| Renders text in bold. Usually it is better to use one of the logical
styles (like STRONG) instead of phisycal styles
like B.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <BASE>
| Can only appear within a HEAD element
Defines the base URL for this page. The base URL is the address to use
when resolving relative URL references (partial URLs). By default the
base URL is the page's address.
| Strict
| | Attribute | Explanation | Mode
|
|---|
| HREF="url"
| Specifies the URL to use as the base
| Strict
| | TARGET="name"
| The name of the frame where to display documents linked to
by A hyperlink anchors. See A for details.
| Tolerant (NS)
|
| Tag | Explanation | Mode
|
|---|
| <BASEFONT>
| Sets the size normal text is rendered in, and that relative FONT
sizes refer to.
| Tolerant (NS)
| | Attribute | Explanation | Mode
|
|---|
| SIZE=nn
| Specifies the font size. Valid sizes are 1 to 7. Default size is 3.
| Tolerant (NS)
|
BGSOUND
| Tag | Explanation | Mode
|
|---|
| <BGSOUND>
| Defines a sound to play when this page is displayed.
| Tolerant (MS)
| | Attribute | Explanation | Mode
|
|---|
| SRC="url"
| Specifies the URL where the sound can be found.
| Tolerant (MS)
| LOOP=n LOOP=INFINITE
| The number of times the sound should be played. If the number is negative,
or if "INFINITE" is given, the sound will be repeated forever while the
page is being displayed.
| Tolerant (MS)
|
| Tag | Explanation | Mode
|
|---|
| <BIG> ... </BIG>
| Renders text in a large font.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <BLINK> ... </BLINK>
| Specifies blinking text.
| Tolerant (NS)
|
| Tag | Explanation | Mode
|
|---|
<BQ> ... </BQ>
<BLOCKQUOTE> ... </BLOCKQUOTE>
| Specifies a text as long quotation. Typically rendered in italics.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <BODY> ... </BODY>
| Specifies the body if an HTML document. Each HTML document must have exactly
1 body or FRAMESET element.
| Strict
| | Attribute | Explanation | Mode
|
|---|
| BACKGROUND="url"
| Specifies a background image. The image is tiled in the background of the
page.
| Strict
| BGCOLOR=#rrggbb BGCOLOR=colourname
| Specifies the pages background colour if no background image is given, or
the background image is not (yet) loaded.
See colour specifications for a list of valid names.
| Strict
| TEXT=#rrggbb TEXT=colourname
| Specifies colour to render normal text in.
See colour specifications for a list of valid names.
| Strict
| LINK=#rrggbb LINK=colourname
| Specifies colour to render unvisited hyperlinks in.
See colour specifications for a list of valid names.
| Strict
| VLINK=#rrggbb VLINK=colourname
| Specifies colour to render already visited hyperlinks in.
See colour specifications for a list of valid names.
| Strict
| ALINK=#rrggbb ALINK=colourname
| Specifies colour to render selected (highlighted) hyperlinks in.
See colour specifications for a list of valid names.
| Strict
| TOPMARGIN=nn LEFTMARGIN=nn
| Specifies the top (and bottom) margin, or the left (and right) margin
in pixels. This overrides the default margins.
| Tolerant (MS)
|
| Tag | Explanation | Mode
|
|---|
| <BR>
| Specifies a line break.
| Strict
| | Attribute | Explanation | Mode
|
|---|
CLEAR=LEFT CLEAR=RIGHT CLEAR=ALL
| Places the following text after left aligned, right aligned or all floating
images.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <CAPTION> ... </CAPTION>
| Can only appear within a TABLE element
Specifies a caption for a table.
| Strict
| | Attribute | Explanation | Mode
|
|---|
ALIGN=TOP ALIGN=BOTTOM
| Specifies whether the caption should appear above the table (ALIGN=TOP) or
below the table (ALIGN=BOTTOM).
| Strict
| ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT
| Specifies the alignment of the caption relative to the table width.
| Tolerant (MS)
| VALIGN=TOP VALIGN=BOTTOM
| Specifies whether the caption should appear above the table (VALIGN=TOP) or
below the table (VALIGN=BOTTOM).
| Tolerant (MS)
|
| Tag | Explanation | Mode
|
|---|
| <CENTER> ... </CENTER>
| Renders text and other elements centered within the window width.
Is a shorthand notation for <DIV ALIGN=CENTER>
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <CITE> ... </CITE>
| Specifies a citation. Typically rendered in italics.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <CODE> ... </CODE>
| Specifies a short code sample. Typically rendered in a fixed width font.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <DD>
| Can only appear within a DL element
Specifies a description in a definition list. The description is rendered
indented.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <DFN> ... </DFN>
| Specifies a definition. Typically rendered in italics.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <DIR> ... </DIR>
| Specifies a directory list.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <DIV> ... </DIV>
| Specifies a division of the document for aligning purposes.
| Strict
| | Attribute | Explanation | Mode
|
|---|
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT
| Renders the text and other elements within the division left aligned, centered
within the window width, or right aligned with the window border=0 bgcolor="FFFFC1".
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <DL> ... </DL>
| Specifies a definition list. Each entry in the list contains one or more
DT elements to specify the term, and one DD
element that contains the desciption of that term
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <DT>
| Can only appear within a DL element
Specifies a term in a definition list. The term is rendered non-indented as
opposed to the definition of the term.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <EM> ... </EM>
| Specifies emphasized text. Typically rendered in italics.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <EMBED> ... </EMBED>
| Specifies an embedded object to display inlined with the text. The
OBJECT element should be used instead because it offers
more flexibility.
| Tolerant (NS)
| | Attribute | Explanation | Mode
|
|---|
HEIGHT=nn WIDTH=nn
| Specifies the height and the width of the object in pixels.
| Tolerant (NS)
| | NAME="name"
| Specifies a name for the object.
| Tolerant (NS)
| | SRC="url"
| Specifies the address of the object. See A for details.
| Tolerant (NS)
| | name=value
| All other attributes are passed as (name, value) pairs to the object.
| Tolerant (NS)
|
| Tag | Explanation | Mode
|
|---|
| <FONT> ... </FONT>
| Specifies a change in font size or colour.
| Strict
| | Attribute | Explanation | Mode
|
|---|
COLOR=#rrggbb COLOR=colourname
| Specifies the colour to render the text in.
See colour specifications for a list of valid names.
| Strict
| SIZE=nn SIZE=+nn SIZE=-nn
| Specifies the font size.
If nn is given, it is an absolute size. Valid sizes are 1 to 7,
1 being the smallest and 7 the largest.
If +nn or -nn is given, it is a change relative to
the current BASEFONT or Hn size.
Valid range is -6 to +6, but the resulting font size will be adjusted to
fall within the range 1 to 7. Note that relative font size changes are not
cumulative.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <FORM> ... </FORM>
| Specifies a fill-in form. The form should contain one or more
INPUT, SELECT or
TEXTAREA elements that define the form fields.
| Strict
| | Attribute | Explanation | Mode
|
|---|
| ACTION="url"
| Specifies the address to be used to carry out the form's action. Default is
the form's address.
| Strict
| METHOD=GET METHOD=POST
| Specifies how the form data should be sent to the action address. METHOD=GET
includes the arguments in a URL. METHOD=POST sends the data using a HTTP post
transaction.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <FRAME>
| Embeds another document in a HTML document.
This element is most commonly used within a FRAMESET element.
It can also be used to create an embedded object in a HTML document, much like the
IMG tag does.
| Tolerant (NS)
| | Attribute | Explanation | Mode
|
|---|
ALIGN=TOP ALIGN=MIDDLE ALIGN=BOTTOM
| Only valid when used as embedded object.
Specifies how the frame should be aligned with the text:
| ALIGN | Meaning
|
|---|
| TOP | the top of the frame aligns with the top of the
tallest element in the line
| | MIDDLE | the middle of the frame aligns with the text baseline
| | BOTTOM | the bottom of the frame aligns with the text baseline
|
| Tolerant (MS)
| ALIGN=LEFT ALIGN=RIGHT
| Only valid when used as embedded object.
Specifies that the frame is a floating frame. It is flushed to the current left or
right margin, and the text will flow around it.
| Tolerant (MS)
| border=0 bgcolor="FFFFC1"=YES border=0 bgcolor="FFFFC1"=NO
| Specifies if the frame should have a border=0 bgcolor="FFFFC1" or not. See also the FRAMEborder=0 bgcolor="FFFFC1"
attribute.
| Tolerant (NS)
| | FRAMEborder=0 bgcolor="FFFFC1"=nn
| Specifies the thickness of the border=0 bgcolor="FFFFC1" around the frame. FRAMEborder=0 bgcolor="FFFFC1"=0 means
no border=0 bgcolor="FFFFC1".
| Tolerant (MS)
| HEIGHT=nn HEIGHT=nn%
| Only valid when used as embedded object.
Specifies the height of the frame in pixels or as a percentage of the window height.
| Tolerant (MS)
| HSPACE=nn VSPACE=nn
| Only valid when used as embedded object.
Specifies a margin around the frame for floating frames. Without margin the text
will be placed directly adjacent to the frame.
| Tolerant (MS)
| MARGINHEIGHT=nn MARGINWIDTH=nn
| Specifies the vertical and horizontal margins around the contents within the
frame, in pixels.
| Tolerant (NS)
| | NAME="name"
| Gives the frame a name. This name can be used in the TARGET attribute
of the A and BASE tags.
Names must begin with an alphanumeric character.
| Tolerant (NS)
| NORESIZE=YES NORESIZE=NO
| Specifies if the frame can be resized by the user. NORESIZE=YES means the
frame has a fixed size, NORESIZE=NO (the default) means the frame can be resized.
| Tolerant (NS)
| SCROLLING=YES SCROLLING=NO SCROLLING=AUTO
| Specifies if scrollers are allowed for this frame. If scrollers are allowed,
they are only displayed if the contents doesn't fit entirely in the frame. If
not allowed, no scrollers will be displayed even if the document doesn't fit.
Default is to allow scrollers. AUTO is a synonym for YES.
| Tolerant (NS)
| | SRC="url"
| Specifies the address of the document to display in the frame. See
A for details.
| Tolerant (NS)
| WIDTH=nn WIDTH=nn%
| Only valid when used as embedded object.
Specifies the width of the frame in pixels or as a percentage of the window width.
| Tolerant (MS)
|
| Tag | Explanation | Mode
|
|---|
| <FRAMESET> ... <FRAMESET/>
| Subdivides the browser window in two or more subwindows.
The FRAMESET element should contain one or more FRAME
elements that define the documents to display in the subwindows. Other
FRAMESET elements may be included to achieve a more complex subdivision.
A document containing a FRAMESET element should not contain a BODY.
For compatibility with browsers that don't support frames, a
NOFRAMES element may be included in the document.
| Tolerant (NS)
| | Attribute | Explanation | Mode
|
|---|
border=0 bgcolor="FFFFC1"=YES border=0 bgcolor="FFFFC1"=NO
| Specifies if the included frames should have border=0 bgcolor="FFFFC1"s or not. See also
the FRAMEborder=0 bgcolor="FFFFC1" attribute.
| Tolerant (NS)
| | COLS="spec,spec,..."
| Specifies the way the frameset should be divided into columns. Each "spec"
can be one of the following:
| n | width of the column in number of pixels.
| | n% | width of the column as percentage of the window width.
| | n* | relative width of the remaining columns. The remainder
of the window will be divided over these columns. The number may be omitted.
|
| Tolerant (NS)
| | FRAMEborder=0 bgcolor="FFFFC1"=nn
| Default thickness for the border=0 bgcolor="FFFFC1"s of the included frames, in pixels.
FRAMEborder=0 bgcolor="FFFFC1"=0 means no border=0 bgcolor="FFFFC1"s.
| Tolerant (MS)
| | FRAMESPACING=nn
| Spacing between the included frames, in pixels.
| Tolerant (MS)
| | ROWS="spec,spec,..."
| Specifies the way the frameset should be divided into rows. Each "spec"
can be one of the following:
| n | height of the row in number of pixels.
| | n% | height of the row as percentage of the window height.
| | n* | relative height of the remaining rows. The remainder
of the window will be divided over these rows. The number may be omitted.
|
| Tolerant (NS)
|
| Tag | Explanation | Mode
|
|---|
<H1> ... </H1>
:
<H6> ... </H6>
| Specifies a heading. There are six levels of heading that may be rendered
in different fonts, sizes and styles. H1 is the most important heading,
H6 the least important.
| Strict
| | Attribute | Explanation | Mode
|
|---|
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT
| Specifies the horizontal position of the header in the window.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <HEAD> ... </HEAD>
| Specifies the document header section. This section contains meta-information
about the document, like the TITLE. Each HTML document
must have exactly 1 HEAD.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <HR>
| Renders a horizontal rule.
| Strict
| | Attribute | Explanation | Mode
|
|---|
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT
| Specifies the location where to render a short rule in the window. Default is
centered within the window width.
| Strict
| | NOSHADE
| Renders the rule as a solid line or block, with no 3-d effects.
| Strict
| | SIZE=nn
| Specifies the vertical size of the ruler, measured in pixels. Default is 2 pixels.
| Strict
| WIDTH=nn% WIDTH=nn
| Specifies the width of the ruler, either in a percentage of the window
width, or as a number of pixels. Default is a width of 100%.
| Strict
| COLOR=#rrggbb COLOR=colourname
| Specifies the colour to render the rule in. This attribute implies the
NOSHADE attribute.
See colour specifications for a list of valid names.
| Tolerant (MS)
|
| Tag | Explanation | Mode
|
|---|
| <HTML> ... </HTML>
| Specifies a HTML document. Each HTML document must begin with <HTML>
and end with </HTML>.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <I> ... </I>
| Renders text in italics. Usually it is better to use one of the logical
styles (like EM) instead of phisycal styles
like I.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <IMG>
| Specifies an image to be displayed inlined with the text.
| Strict
| | Attribute | Explanation | Mode
|
|---|
ALIGN=TOP ALIGN=MIDDLE ALIGN=BOTTOM
| Specifies how the image should be aligned with the text:
| ALIGN | Meaning
|
|---|
| TOP | the top of the image aligns with the top of the
tallest element in the line
| | MIDDLE | the middle of the image aligns with the text baseline
| | BOTTOM | the bottom of the image aligns with the text baseline
|
| Strict
| ALIGN=LEFT ALIGN=RIGHT
| Specifies that the image is a floating image. It is flushed to the current left or
right margin, and the text will flow around it.
| Strict
| | ALT="text"
| Specifies the text to be displayed when the image isn't loaded (yet).
| Strict
| | border=0 bgcolor="FFFFC1"=nn
| Specifies the thickness of the border=0 bgcolor="FFFFC1" if the image is a link. border=0 bgcolor="FFFFC1"=0 means
no border=0 bgcolor="FFFFC1".
| Strict
| HEIGHT=nn WIDTH=nn
| Specifies the height and the width of the image in pixels.
| Strict
| HSPACE=nn VSPACE=nn
| Specifies a margin around the image for floating images. Without margin the text
will be placed directly adjacent to the image.
| Strict
| | ISMAP
| Specifies that the image is a clickable map. The image must be contained within
a A element.
| Strict
| | SRC="url"
| Specifies the address of the image. See A for details.
| Strict
| | USEMAP="url"
| Defines this image as a client-side image map. The url must contain a
fragment name (introduced by the # character) and must point to a
MAP element. The MAP element may be in the same document
or in another document.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <INPUT>
| Can only appear within a FORM element
Defines an input field in a form.
| Strict
| | Attribute | Explanation | Mode
|
|---|
TYPE=CHECKBOX TYPE=HIDDEN TYPE=IMAGE
TYPE=PASSWORD TYPE=RADIO TYPE=RESET TYPE=SUBMIT TYPE=TEXT
| Defines the type of input field:
| TYPE | Meaning
|
|---|
| CHECKBOX | A simple checkbox, on or off
| | HIDDEN | Invisible field, but will be sent with the form data
| | IMAGE | Clickable image, much like image maps
| | PASSWORD | One-line text entry, but typed text will be unreadable
| | RADIO | Radiobuttons, one choice out of many
| | RESET | Button to reset all fields to their initial state
| | SUBMIT | Button to send the form data
| | TEXT | One-line text entry, this is the default type
|
| Strict
| ALIGN=TOP ALIGN=MIDDLE ALIGN=BOTTOM
| Specifies the alignment of an IMAGE field.
| Strict
| | CHECKED
| Specifies that a CHECKBOX or RADIO button should be initially checked.
| Strict
| | MAXLENGTH=nn
| Specifies the maximum number of characters that can be typed in a TEXT or PASSWORD
field.
| Strict
| | NAME="name"
| Gives this field a name. Fields without a name will not be included in the
form data sent.
| Strict
| | SRC="url"
| Specifies the source URL of the image for an IMAGE type field.
| Strict
| | SIZE=nn
| Specifies the size of the input box for TEXT and PASSWORD fields, in characters.
| Strict
| | VALUE="value"
| For CHECKBOX, RADIO, HIDDEN and SUBMIT this specifies the value (data) to
be included if the form is sent.
For TEXT and PASSWORD this specifies the initial value of the input box.
For SUBMIT and RESET this specifies the button label.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <ISINDEX>
| Specifies that this page is a searchable index.
Note: The HTML definition states that this tag can
only be used within a HEAD element. Because there are
many pages that has this tag in the document BODY,
| Strict
| | Attribute | Explanation | Mode
|
|---|
| PROMPT="prompt"
| Defines the propmt to use. Default is
This is a searchable index. Enter keywords:
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <KBD> ... </KBD>
| Specifies keyboard input. Typically rendered in a fixed width font.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <LI>
| Can only appear within a OL or ULelement
Defines a list item. The item is rendered indented with a bullet in front.
| Strict
| | Attribute | Explanation | Mode
|
|---|
| VALUE=nn
| Specifies the number to use in the bullet for an ordered list
(OL).
| Strict
| TYPE=CIRCLE TYPE=DISC TYPE=SQUARE
| Sets the type of bullet for an unordered list (UL).
| Strict
| TYPE=1 TYPE=A TYPE=a TYPE=I TYPE=i
| Sets the type of bullet for an ordered list (OL).
| TYPE | Meaning
|
|---|
| 1 | Ordinary numbers (default) (1,2,3,4,...)
| | A | Capital letters (A,B,C,D,...)
| | a | lowercase letters (a,b,c,d,...)
| | I | Roman numbers in capital letters (I,II,III,IV,...)
| | i | Roman numbers in lowercase letters (i,ii,iii,iv,...)
|
| Strict
| | DINGBAT="name"
| Specifies the type of icon entity to use as a bullet
in an unordered list (UL).
| Tolerant
| | SRC="url"
| Specifies the source of an image to use as a bullet in an unordered list
(UL).
| Tolerant (HTML 3.0)
| | SKIP=nn
| Specifies the number of items to skip relative to the previous item
in an ordered list (OL).
| Tolerant (HTML 3.0)
|
| Tag | Explanation | Mode
|
|---|
| <LINK>
| Can only appear within a HEAD element
Hyperlink to related resources. Typically used to indicate authorship, related
indices, other versions of the document, etc.
| Strict
| | Attribute | Explanation | Mode
|
|---|
| HREF="url"
| Specifies a destination for the hyperlink. See A for details.
| Strict
| | REL="name"
| Name of the relationship described by this hyperlink.
| Strict
| | TITLE="title"
| Title to show when presenting this hyperlink.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <LISTING> ... </LISTING>
| Specifies a listing. The text is rendered in a fixed width font, exactly
as it appears in the document source. No word-wrapping is done.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <MAP> ... </MAP>
| Defines a set of hot zones for a client-side image map (see
IMG).
The MAP element should contain one or more AREA elements.
| Strict
| | Attribute | Explanation | Mode
|
|---|
| NAME="name"
| The name of the map, as it is references by the USEMAP attribute of the
IMG element.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <META>
| Meta information about the document. Also used to indicate additional HTTP
transfer headers to the server sending out the document. The last feature is
frequently used to implement the client-pull mechanism.
| Strict
| | Attribute | Explanation | Mode
|
|---|
| CONTENT="value"
| Specifies the value of the meta attribute identified by NAME or HTTP-EQUIV.
| Strict
| | HTTP-EQUIV="HTTP-header"
| Specifies the HTTP header (keyword only) that a server sending this document may
include in its response.
| Strict
| | NAME="name"
| Specifies the name of the meta attribute.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <MENU> ... </MENU>
| Specifies a menu list.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <NOBR> ... </NOBR>
| Specifies that automatic line breaks must not occur within this text.
The WBR element can be used to specify soft line breaks.
| Tolerant (NS)
|
| Tag | Explanation | Mode
|
|---|
| <NOFRAMES> ... </NOFRAMES>
| If the document contains a FRAMESET definition,
the contents of this element will be interpreted by browsers that don't
support frames. The entire element with its contents will be ignored
by frame supporting browsers.
| Tolerant (NS)
|
| Tag | Explanation | Mode
|
|---|
| <OBJECT> ... </OBJECT>
| Specifies an embedded object to display inlined with the text. If the
browser supports the type of object, the contents of the OBJECT element is
ignored. If the browser does not support the type of object, it displays
the content of the OBJECT element instead.
OBJECT elements can be nested to supply several levels of fall-back until
the browser supports one of them.
Object specific parameters can be specifies with separate
PARAM elements within the OBJECT element.
| Tolerant (HTML 3.0)
| | Attribute | Explanation | Mode
|
|---|
ALIGN=TOP ALIGN=MIDDLE ALIGN=BOTTOM
| Specifies how the object should be aligned with the text:
| ALIGN | Meaning
|
|---|
| TOP | the top of the object aligns with the top of the
tallest element in the line
| | MIDDLE | the middle of the object aligns with the text baseline
| | BOTTOM | the bottom of the object aligns with the text baseline
|
| Tolerant (HTML 3.0)
| ALIGN=LEFT ALIGN=RIGHT
| Specifies that the object is a floating object. It is flushed to the current left or
right margin, and the text will flow around it.
| Tolerant (HTML 3.0)
| | border=0 bgcolor="FFFFC1"=nn
| Specifies the thickness of the border=0 bgcolor="FFFFC1" if the object is a link. border=0 bgcolor="FFFFC1"=0 means
no border=0 bgcolor="FFFFC1".
| Tolerant (HTML 3.0)
| | CLASSID="name"
| Name of the class that implements the code to process the object data, within the
code object specified by the CODEBASE attribute.
| Tolerant (HTML 3.0)
| | CODEBASE="url"
| Specifies the address of the object that implements the code to process the object data.
| Tolerant (HTML 3.0)
| | CODETYPE="MIME-type"
| The MIME type of the code object specified by the CODEBASE attribute.
| Tolerant (HTML 3.0)
| | DATA="url"
| Specifies the address of the object data. See A for details.
| Tolerant (HTML 3.0)
| | DECLARE
| Specifies that the object is declared only, and should not be instantiated.
| Tolerant (HTML 3.0)
| HEIGHT=nn WIDTH=nn
| Specifies the height and the width of the object in pixels.
| Tolerant (HTML 3.0)
| HSPACE=nn VSPACE=nn
| Specifies a margin around the object for floating objects. Without margin the text
will be placed directly adjacent to the object.
| Tolerant (HTML 3.0)
| | ISMAP
| Specifies that the object is a clickable map. The object must be contained within
a A element.
| Tolerant (HTML 3.0)
| | NAME="name"
| Specifies a name for the object.
| Tolerant (HTML 3.0)
| | SHAPES
| Specifies that the object is a client-side clickable map.
The OBJECT element should contain
one or more A elements with SHAPE and COORDS attributes defined.
A clickable map constructed in this way (as opposed to one using the USEMAP
attribute) will gracefully fall back to textual
links in browsers that does not support the particular object type, or not support
the OBJECT tag at all.
| Tolerant (HTML 3.0)
| | STANDBY="text"
| Specifies the text to be displayed when the object isn't loaded (yet).
| Tolerant (HTML 3.0)
| | TYPE="MIME-type"
| The MIME-type of the object data specified by the DATA attribute.
| Tolerant (HTML 3.0)
| | USEMAP="url"
| Defines this object as a client-side clickable map with use of a separate
MAP element. The url must contain a
fragment name (introduced by the # character) and must point to a
MAP element.
The MAP element may be in the same document or in another document.
Note that the OBJECT element allows for more browser-friendly client-side
maps, see the SHAPES attribute.
| Tolerant (HTML 3.0)
|
| Tag | Explanation | Mode
|
|---|
| <OL> ... </OL>
| Defines an ordered list. Items in the list are preceded by numbered bullets.
An ordered list should contain one or more LI elements.
| Strict
| | Attribute | Explanation | Mode
|
|---|
TYPE=1 TYPE=A TYPE=a TYPE=I TYPE=i
| Sets the type of bullet for this list.
| TYPE | Meaning
|
|---|
| 1 | Ordinary numbers (default) (1,2,3,4,...)
| | A | Capital letters (A,B,C,D,...)
| | a | lowercase letters (a,b,c,d,...)
| | I | Roman numbers in capital letters (I,II,III,IV,...)
| | i | Roman numbers in lowercase letters (i,ii,iii,iv,...)
|
| Strict
| | START=nn
| Sets the number to start with. Default is 1.
| Strict
| | CONTINUE
| Specifies that the numbers should continue where the previous ordered list
ended.
| Tolerant (HTML 3.0)
| | SEQNUM=nn
| Sets the number to start with. Same as START.
| Tolerant (HTML 3.0)
|
| Tag | Explanation | Mode
|
|---|
| <OPTION> ... </OPTION>
| Can only appear within a SELECT element
Defines an option in a selection list in a form.
The end tag is optional.
| Strict
| | Attribute | Explanation | Mode
|
|---|
| VALUE="value"
| Specifies the value to be included in the form data if this option is
selected. Default is the option text.
| Strict
| | SELECTED
| Specifies that this option should be initially selected.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <PARAM>
| Can only appear within a OBJECT element
Specifies an object-specific parameter. Parameters are passed to the
object.
| Tolerant (HTML 3.0)
| | Attribute | Explanation | Mode
|
|---|
| NAME="name"
| Specifies the name of the parameter.
| Tolerant (HTML 3.0)
| | TYPE="MIME-type"
| The MIME type of the object specifies by URL in the the VALUE attribute.
Only valid if the VALUETYPE attribute indicates an URL.
| Tolerant (HTML 3.0)
| | VALUE="value"
| Specifies the value of the parameter.
| Tolerant (HTML 3.0)
| | VALUETYPE="type"
| Specifies the type of the value of the parameter. It must be one of
the following:
| TYPE | Meaning
|
|---|
| DATA | The value is plain data.
| | OBJECT | The value is the name of another
OBJECT.
| | REF | The value is an URL. (HTML 3.0)
| | URL | The value is an URL. (MS)
|
| Tolerant (HTML 3.0, MS)
|
| Tag | Explanation | Mode
|
|---|
| <P> ... </P>
| Denotes a paragraph in the document.
| Strict
| | Attribute | Explanation | Mode
|
|---|
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT
| Renders the text and other elements within the paragraph left aligned, centered
within the window width, or right aligned with the window border=0 bgcolor="FFFFC1".
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <PRE> ... </PRE>
| Specifies preformatted text. The text is rendered in a fixed width font, exactly
as it appears in the document source. No word-wrapping is done.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <KBD> ... </KBD>
| Specifies sample output. Typically rendered in a fixed width font.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <SCRIPT> ... </SCRIPT>
| Can only appear within a HEAD element
Specifies script statements.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <SELECT> ... </SELECT>
| Can only appear within a FORM element
Defines a selection field in a form. Depending on the type of field and
the settings, this can be a cycle-type field or a scrollable list.
The SELECT element should contain one or more OPTION
elements that define the options to choose from.
| Strict
| | Attribute | Explanation | Mode
|
|---|
| MULTIPLE
| Specifies that more than one option can be selected simultaneously. The
field will be rendered as a scrollable list with checkmarks to indicate
selected items.
| Strict
| | NAME="name"
| Gives this field a name. Fields without a name will not be included in the
form data sent.
| Strict
| | SIZE=nn
| Specifies the vertical size of the field. A size of 1 will usually be rendered as
a cycle-type field. A size of 2 or more will be rendered as a scrollable list,
where the number specifies how many items are visible.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <SMALL> ... </SMALL>
| Renders text in a small font.
| Strict
|
| Tag | Explanation | Mode
|
|---|
<S> ... </S>
<STRIKE> ... </STRIKE>
| Renders text with strike through.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <STRONG> ... </STRONG>
| Specifies strongly emphasized text. Typically rendered in bold.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <STYLE> ... </STYLE>
| Can only appear within a HEAD element
Specifies style information.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <SUB> ... </SUB>
| Renders text in subscript, that is in a smaller font and somewhat lower
than usual.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <SUP> ... </SUP>
| Renders text in superscript, that is in a smaller font and somewhat higher
than usual.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <TABLE> ... </TABLE>
| Defines a table. The TABLE element may contain a CAPTION
element and should contain one or more TR (table row) elements.
| Strict
| | Attribute | Explanation | Mode
|
|---|
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT
| Specifies the location where to render the table in the window.
Default is left aligned.
| Strict
| | BACKGROUND="url"
| Specifies a background image. The image is tiled across all cells in the table.
| Tolerant (NS)
| BGCOLOR=#rrggbb BGCOLOR=colourname
| Specifies the background colour for all cells in the table.
See colour specifications for a list of valid names.
| Tolerant (NS)
| border=0 bgcolor="FFFFC1" border=0 bgcolor="FFFFC1"=nn
| Specifies that the table cells should have border=0 bgcolor="FFFFC1"s. If a number is given,
it specifies the width of the border=0 bgcolor="FFFFC1" in pixels.
Default is no border=0 bgcolor="FFFFC1". Specifying border=0 bgcolor="FFFFC1"=0 is the same as not specifying the
border=0 bgcolor="FFFFC1" attribute.
| Strict
| border=0 bgcolor="FFFFC1"COLOR=#rrggbb border=0 bgcolor="FFFFC1"COLOR=colourname
| Specifies the colour to render the border=0 bgcolor="FFFFC1"s in for the entire table. border=0 bgcolor="FFFFC1"s will
be solid, not 3-D.
See colour specifications for a list of valid names.
| Tolerant (MS)
| border=0 bgcolor="FFFFC1"COLORDARK=#rrggbb border=0 bgcolor="FFFFC1"COLORDARK=colourname
border=0 bgcolor="FFFFC1"COLORLIGHT=#rrggbb border=0 bgcolor="FFFFC1"COLORLIGHT=colourname
| Specifies the colours to use for the dark and light edges of the 3-D border=0 bgcolor="FFFFC1"s in the
entire table.
See colour specifications for a list of valid names.
| Tolerant (MS)
| | CELLPADDING=nn
| Specifies the distance between the cell contents and the cell border=0 bgcolor="FFFFC1", in
pixels.
| Strict
| | CELLSPACING=nn
| Specifies the distance that adjacing cells should be separated, in pixels.
This is including any border=0 bgcolor="FFFFC1"s.
| Strict
| WIDTH=nn% WIDTH=nn
| Specifies the width of the table, either in a percentage of the window
width, or as a number of pixels.
Default is to make the table the minimum size for which all elements can be
rendered without wrapping, but not wider than the window.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <TD> ... </TD>
| Can only appear within a TR element
Defines a table cell.
The end tag is optional.
| Strict
| | Attribute | Explanation | Mode
|
|---|
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT
| Renders the text and other elements within the table cell left aligned, centered
within the cell width, or right aligned with the cell border=0 bgcolor="FFFFC1".
This attribute overrides the ALIGN attribute of the TR element.
| Strict
| | BACKGROUND="url"
| Specifies a background image for this table cell.
| Tolerant (NS)
| BGCOLOR=#rrggbb BGCOLOR=colourname
| Specifies the background colour for this table cell.
See colour specifications for a list of valid names.
| Tolerant (NS)
| border=0 bgcolor="FFFFC1"COLOR=#rrggbb border=0 bgcolor="FFFFC1"COLOR=colourname
| Specifies the colour to render the border=0 bgcolor="FFFFC1"s in for this table cell. border=0 bgcolor="FFFFC1"s will
be solid, not 3-D.
See colour specifications for a list of valid names.
| Tolerant (MS)
| border=0 bgcolor="FFFFC1"COLORDARK=#rrggbb border=0 bgcolor="FFFFC1"COLORDARK=colourname
border=0 bgcolor="FFFFC1"COLORLIGHT=#rrggbb border=0 bgcolor="FFFFC1"COLORLIGHT=colourname
| Specifies the colours to use for the dark and light edges of the 3-D border=0 bgcolor="FFFFC1"s
for this table cell.
See colour specifications for a list of valid names.
| Tolerant (MS)
| | COLSPAN=nn
| This cell spans several adjacent columns.
| Strict
| | ROWSPAN=nn
| This cell spans several adjacent rows.
| Strict
| | NOWRAP
| Text in this cell will not word wrap. The cell will be made wide enough to
show the text without wrapping.
| Strict
| VALIGN=TOP VALIGN=MIDDLE VALIGN=BOTTOM VALIGN=BASELINE
| Specifies the vertical alignment of the cell contents:
| ALIGN | Meaning
|
|---|
| TOP | places the cell contents at the top of the cell
| | MIDDLE | places the cell contents vertically centered
within the cell
| | BOTTOM | places the cell contents at the bottom of the cell
| | BASELINE | aligns the text in this cell with the text
in other cells in the same row that have VALIGN=BASELINE specified
|
This attribute overrides the VALIGN attribute of the TR element.
| Strict
| WIDTH=nn% WIDTH=nn
| Specifies the width of this column, either in a percentage of the table width
or as a number of pixels.
| Tolerant (NS)
|
| Tag | Explanation | Mode
|
|---|
| <TEXTAREA> ... </TEXTAREA>
| Can only appear within a FORM element
Defines a multi line, scrollable text entry field in a form.
The text contained in this element will be the initial text displayed
in the field, including line breaks.
| Strict
| | Attribute | Explanation | Mode
|
|---|
| COLS=nn
| Width of the field in text columns.
| Strict
| | ROWS=nn
| Height of the field in rows.
| Strict
| | NAME="name"
| Gives this field a name. Fields without a name will not be included in the
form data sent.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <TH> ... </TH>
| Can only appear within a TR element
Defines a table header cell.
The end tag is optional.
| Strict
| | Attribute | Explanation | Mode
|
|---|
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT
| Horizontal alignment, see TD.
Default is ALIGN=CENTER.
| Strict
| | BACKGROUND="url"
| Specifies a background image for this table cell.
| Tolerant (NS)
| BGCOLOR=#rrggbb BGCOLOR=colourname
| Specifies the background colour for this table cell.
See colour specifications for a list of valid names.
| Tolerant (NS)
| border=0 bgcolor="FFFFC1"COLOR=#rrggbb border=0 bgcolor="FFFFC1"COLOR=colourname
| Specifies the colour to render the border=0 bgcolor="FFFFC1"s in for this table cell. border=0 bgcolor="FFFFC1"s will
be solid, not 3-D.
See colour specifications for a list of valid names.
| Tolerant (MS)
| border=0 bgcolor="FFFFC1"COLORDARK=#rrggbb border=0 bgcolor="FFFFC1"COLORDARK=colourname
border=0 bgcolor="FFFFC1"COLORLIGHT=#rrggbb border=0 bgcolor="FFFFC1"COLORLIGHT=colourname
| Specifies the colours to use for the dark and light edges of the 3-D border=0 bgcolor="FFFFC1"s
for this table cell.
See colour specifications for a list of valid names.
| Tolerant (MS)
| | COLSPAN=nn
| This cell spans several adjacent columns.
| Strict
| | ROWSPAN=nn
| This cell spans several adjacent rows.
| Strict
| | NOWRAP
| Text in this cell will not word wrap. The cell will be made wide enough to
show the text without wrapping.
| Strict
| VALIGN=TOP VALIGN=MIDDLE VALIGN=BOTTOM VALIGN=BASELINE
| Vertical alignment, see TD.
Default is VALIGN=MIDDLE.
| Strict
| WIDTH=nn% WIDTH=nn
| Specifies the width of this column, either in a percentage of the table width
or as a number of pixels.
| Tolerant (NS)
|
| Tag | Explanation | Mode
|
|---|
| <TITLE> ... </TITLE>
| Can only appear within a HEAD element
Gives the document a title. Every document should have a title.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <TR> ... </TR>
| Can only appear within a TABLE element
Defines a table row.
The end tag is optional.
| Strict
| | Attribute | Explanation | Mode
|
|---|
ALIGN=LEFT ALIGN=CENTER ALIGN=RIGHT
| Renders the text and other elements within table cells in this row left aligned,
centered within the cell width, or right aligned with the cell border=0 bgcolor="FFFFC1".
This attribute can be overriden by the ALIGN attribute of the TD
or TH element.
| Strict
| | BACKGROUND="url"
| Specifies a background image. The image is tiled across all cells in the table row.
| Tolerant (NS)
| BGCOLOR=#rrggbb BGCOLOR=colourname
| Specifies the background colour for all cells in the table row.
See colour specifications for a list of valid names.
| Tolerant (NS)
| border=0 bgcolor="FFFFC1"COLOR=#rrggbb border=0 bgcolor="FFFFC1"COLOR=colourname
| Specifies the colour to render the border=0 bgcolor="FFFFC1"s in for the table row. border=0 bgcolor="FFFFC1"s will
be solid, not 3-D.
See colour specifications for a list of valid names.
| Tolerant (MS)
| border=0 bgcolor="FFFFC1"COLORDARK=#rrggbb border=0 bgcolor="FFFFC1"COLORDARK=colourname
border=0 bgcolor="FFFFC1"COLORLIGHT=#rrggbb border=0 bgcolor="FFFFC1"COLORLIGHT=colourname
| Specifies the colours to use for the dark and light edges of the 3-D border=0 bgcolor="FFFFC1"s in the
table row.
See colour specifications for a list of valid names.
| Tolerant (MS)
| VALIGN=TOP VALIGN=MIDDLE VALIGN=BOTTOM VALIGN=BASELINE
| Specifies the vertical alignment of the contents of the cells in this row:
| ALIGN | Meaning
|
|---|
| TOP | places the cell contents at the top of the cell
| | MIDDLE | places the cell contents vertically centered
within the cell
| | BOTTOM | places the cell contents at the bottom of the cell
| | BASELINE | aligns the text in all cells inthis row
|
This attribute can be overriden by the VALIGN attribute of the TD
or TH element.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <TT> ... </TT>
| Renders text in a fixed width font ("teletype").
Usually it is better to use one of the logical
styles (like CODE) instead of phisycal styles like TT.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <U> ... </U>
| Renders text underscored. Usually it is better to use one of the logical
styles (like STRONG) instead of phisycal styles
like U.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <UL> ... </UL>
| Defines an unordered list. Items in the list are preceded by bullets.
An unordered list should contain one or more LI elements.
| Strict
| | Attribute | Explanation | Mode
|
|---|
TYPE=CIRCLE TYPE=DISK TYPE=SQUARE
| Sets the type of bullet for this list.
| Strict
| | DINGBAT="name"
| Specifies the type of icon entity to use as a bullet
in this list.
| Tolerant
| | SRC="url"
| Specifies the source of an image to use as a bullet in this list.
| Tolerant (HTML 3.0)
| | PLAIN
| The list items will not be preceded by bullets.
| Tolerant (HTML 3.0)
|
| Tag | Explanation | Mode
|
|---|
| <VAR> ... </VAR>
| Specifies a variable (e.g. in formulas). Typically rendered in italics.
| Strict
|
| Tag | Explanation | Mode
|
|---|
| <WBR>
| Specifies the location where a line break may occur within text within
the NOBR element.
| Tolerant (NS)
|
| Tag | Explanation | Mode
|
|---|
| <LISTING> ... </LISTING>
| Specifies an example text. The text is rendered in a fixed width font, exactly
as it appears in the document source. No word-wrapping is done.
| Strict
|
|
|
|