[Appendix B] HTML Tag Quick Reference
Author: Chuck Musciano and Bill Kennedy
Date: Fri Aug 29 16:57:10 1997

#

| Appendix B |

# B. HTML Tag Quick Reference

In the following table, we list in alphabetical order all the known and some undocumented HTML tags and attributes currently supported by one or more of today's browsers.

As with the other sections of this book, we use the Netscape and Microsoft icons to the far right of each item to show which browser supports that tag or attribute. If no icon is shown, the tag or attribute is part of the HTML 3.2 standard and is supported by both browsers.

We include each tag's possible attributes (some required) indented below their respective tags. In the description, we give possible attribute values as either a range of integer numbers or a definitive list of options, where possible.

`<a>` ... `</a>` | Create a hyperlink anchor (href attribute) or fragment identifier (name attribute) |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
href=url | Specify the URL of a hyperlink target (required if not a name anchor) |
name=name | Specify the name of a fragment identifier (required if not a hypertext reference anchor) |
onclick=applet | Specify an applet to run when user clicks on the image | (Netscape) (Internet Explorer)
onmouseout=applet | Specify an applet to run when the mouse leaves the image | (Netscape)
onmouseover=applet | Specify an applet to run when the mouse enters the image | (Netscape) (Internet Explorer)
rel=relationship | Indicate the relationship from this document to the target |
rev=relationship | Indicate the reverse relationship of the target to this document |
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
target=name | Define the name of the frame or window to receive the referenced document | (Netscape) (Internet Explorer)
title=string | Provide a title for the target document |
`<address>` ... `</address>` | The enclosed text is an address |
`<applet>` ... `</applet>` | Define an executable applet within a text flow |
align=position | Align the `<applet>` region to either the top, middle, bottom (default), left, right, absmiddle, baseline, or absbottom of the text in the line |
alt=string | Specify alternative text to replace the `<applet>` region within browsers that support the `<applet>` tag, but cannot execute the application |
archive=url | Specify a class archive to be downloaded to the browser and then searched for code class | (Netscape)
code=class | Specify the class name of the code to be executed (required) |
codebase=url | URL from which the code is retrieved |
height=n | Specify the height, in pixels, of the `<applet>` region |
hspace=n | Specify additional space, in pixels, to allow to the left and right of the `<applet>` region |
mayscript | If present, allows the applet to access JavaScript within the page | (Netscape)
name=name | Specify the name of this particular instance of the `<applet>` |
title=string | Provide a title for the applet | (Internet Explorer)
vspace=n | Specify additional space, in pixels, to allow above and below the `<applet>` region |
width=n | Specify the width, in pixels, of the `<applet>` region |
`<area>` | Define a mouse-sensitive area in a client-side image map |
alt=string | Provide alternative text to be displayed by nongraphical browsers |
coords=list | Specify a comma-separated list of shape-dependent coordinates that define the edge of this area |
href=url | Specify the URL of a hyperlink target associated with this area |
nohref | Indicate that no document is associated with this area; clicking in the area has no effect |
notab | Do not include this area in the tabbing order | (Internet Explorer)
onmouseout=applet | Specify an applet to be run when the mouse leaves this area | (Netscape)
onmouseover=applet | Specify an applet to be run when the mouse enters this area | (Netscape)
shape=shape | Define the region's shape to be circ, circle, poly, polygon, rect, or rectangle |
taborder=n | Specify this area's position in the tabbing order | (Internet Explorer)
target=name | Specify the frame or window to receive the document linked by this area | (Netscape)
title=string | Provide a title for this area | (Internet Explorer)
`<b>` ... `</b>` | Format the enclosed text using a bold typeface |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<base>` | Specify the base URL for all relative URLs in this document |
href=url | Specify the base URL (required) |
target=name | Define the default target of all `<a>` links in the document | (Netscape) (Internet Explorer)
`<basefont>` | Specify the font size for subsequent text |
color=color | Specify the base font's color | (Internet Explorer)
name=name | Specify local font to be used for the base font | (Internet Explorer)
size=value | Set the basefont size of 1 to 7 (required; default is 3) |
`<bgsound>` | Define background audio for the document | (Internet Explorer)
loop=value | Set the number of times to play the audio; value may be an integer or the value infinite | (Internet Explorer)
src=url | Provide the URL of the audio file to be played | (Internet Explorer)
`<big>` ... `</big>` | Format the enclosed text using a bigger typeface |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<blink>` ... `</blink>` | Cause the enclosed content to blink | (Netscape)
`<blockquote>` ... `</blockquote>` | The enclosed text is a block quotation |
`<body>` ... `</body>` | Delimit the beginning and end of the document body |
alink=color | Set the color of active hypertext links in the document |
background=url | Specify the URL of an image to be tiled in the document background |
bgcolor=color | Set the background color of the document |
bgproperties=value | With value set to fixed, prevent the background image from scrolling with the document content | (Internet Explorer)
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
leftmargin=value | Set the size, in pixels, of the document's left margin | (Internet Explorer)
link=color | Set the color of unvisited hypertext links in the document |
onblur=applet | Specify an applet to be run when the mouse leaves the document window | (Netscape) (Internet Explorer)
onfocus=applet | Specify an applet to be run when the mouse enters the document window | (Netscape) (Internet Explorer)
onload=applet | Specify an applet to be run when the document is loaded | (Netscape) (Internet Explorer)
onunload=applet | Specify an applet to be run when the document is unloaded | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
text=color | Set the color of regular text in the document |
topmargin=value | Set the size, in pixels, of the document's top margin | (Internet Explorer)
vlink=color | Set the color of visited links in the document |
`<br>` | Break the current text flow, resuming at the beginning of the next line |
clear=margin | Break the flow and move downward until the desired margin, either left, right, none, or all, is clear |
`<caption>` ... `</caption>` | Define a caption for a table |
align=position | For Netscape, set the vertical position of the caption to either top or bottom. For Internet Explorer, set the horizontal alignment of the caption to either left, center, or right. |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
valign=position | Set the vertical position of the caption to either top or bottom | (Internet Explorer)
`<center>` ... `</center>` | Center the enclosed text |
`<cite>` ... `</cite>` | The enclosed text is a citation |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<code>` ... `</code>` | The enclosed text is a code sample |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<col>` | Define a column within a `<colgroup>` | (Internet Explorer)
align=position | Set the column alignment to left, center, or right | (Internet Explorer)
span=n | Define the number of columns affected by this `<col>` tag | (Internet Explorer)
`<colgroup>` | Define a column group within a table | (Internet Explorer)
align=position | Set the horizontal alignment of text within the columns to either left, center, or right | (Internet Explorer)
class=name | Specify a style class controlling the appearance of this tag | (Internet Explorer)
span=n | Define the number of columns in the group | (Internet Explorer)
style=style | Specify an inline style for this tag | (Internet Explorer)
valign=position | Set the vertical alignment of text within the columns to either top, middle, or bottom | (Internet Explorer)
width=n | Set the width, in pixels or as a percentage, of each column in the group | (Internet Explorer)
`<comment>` ... `</comment>` | Place a comment in the document. Comments will be visible in all other browsers. | (Internet Explorer)
`<dd>` ... `</dd>` | Define the definition portion of an element in a definition list |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<dfn>` ... `</dfn>` | Format the enclosed text as a definition |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<dir>` ... `</dir>` | Create a directory list containing `<li>` tags |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
compact | Make the list more compact if possible |
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
type=bullet | Set the bullet style for this list to either circle, disc (default), or square | (Netscape) (Internet Explorer)
`<div>` ... `</div>` | Create a division within a document |
align=type | Align the text within the division to left, center, or right |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
lang=name | Specify the language used for this division | (Internet Explorer)
nowrap | Suppress word wrapping within this division | (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<dl>` ... `</dl>` | Create a definition list containing `<dt>` and `<dd>` tags |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
compact | Make the list more compact if possible |
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<dt>` ... `</dt>` | Define the definition term portion of an element in a definition list |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<em>` ... `</em>` | Format the enclosed text with additional emphasis |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<embed>` | Embed an application in a document | (Netscape) (Internet Explorer)
align=position | Align the applet area to either the top or bottom of the adjacent text, or to the left or right margin of the page, with subsequent text flowing around the applet | (Netscape)
border=n | Specify the size, in pixels, of the border around the applet | (Netscape)
height=n | Specify the height, in pixels, of the applet | (Netscape) (Internet Explorer)
hidden | If present, hide the applet on the page | (Netscape) (Internet Explorer)
hspace=n | Define, in pixels, additional space to be placed to the left and right of the applet | (Netscape)
name=name | Provide a name for the applet | (Netscape) (Internet Explorer)
palette=value | In Netscape, a value of foreground causes the applet to use the foreground palette in Windows only; background uses the background palette. In Internet Explorer, provides the foreground and background colors for the applet, specified as two color values separated by a vertical bar (|) | (Netscape) (Internet Explorer)
pluginspage=url | Provides the URL of the page containing instructions for installing the plug-in associated with the applet | (Netscape)
src=url | Supplies the URL of the data to be fed to the applet | (Netscape) (Internet Explorer)
type=type | Specifies the MIME type of the plug-in to be used | (Netscape)
units=type | Set the units for the height and width attributes to either pixels (the default) or en (half the text point size) | (Netscape) (Internet Explorer)
vspace=n | Define, in pixels, additional space to be placed above and below the applet | (Netscape)
width=n | Specify the width, in pixels, of the applet | (Netscape) (Internet Explorer)
`<font>` ... `</font>` | Set the size or color of the enclosed text |
color=color | Set the color of the enclosed text to the desired color |
face=list | Set the typeface of the enclosed text to the first available font in the comma-separated list of font names | (Netscape) (Internet Explorer)
size=value | Set the size to absolute size 1 to 7, or relative to the `<basefont>` size using +n or -n (required) |
`<form>` ... `</form>` | Delimit a form |
action=url | Specify the URL of the application that will process the form (required) |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
enctype=encoding | Specify how the form element values will be encoded |
method=style | Specify the parameter-passing style, either get or post (required) |
name=name | Supply a name for this form for use by JavaScript | (Netscape)
onreset=applet | Specify an applet to be run when the form is reset | (Netscape)
onsubmit=applet | Specify an applet to be run when the form is submitted | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
target=name | Specify the name of the frame or window to receive the results of the form after submission | (Netscape) (Internet Explorer)
`<frame>` ... `</frame>` | Define a frame within a frameset | (Netscape) (Internet Explorer)
bordercolor=color | Set the color of the frame's border to color | (Netscape)
frameborder=n | If value is yes (Netscape only) or 1 (Netscape and Internet Explorer), enable frame borders. If value is no (Netscape only) or 0 (Netscape and Internet Explorer), disable frame borders. | (Netscape) (Internet Explorer)
marginheight=n | Place n pixels of space above and below the frame contents | (Netscape) (Internet Explorer)
marginwidth=n | Place n pixels of space to the left and right of the frame contents | (Netscape) (Internet Explorer)
name=name | Define the name of the frame | (Netscape) (Internet Explorer)
noresize | Disable user resizing of the frame | (Netscape) (Internet Explorer)
scrolling=type | Always add scrollbars (yes), never add scrollbars (no), or for Netscape only, add scrollbars when needed (auto) | (Netscape) (Internet Explorer)
src=url | Define the URL of the source document for this frame | (Netscape) (Internet Explorer)
`<frameset>` ... `</frameset>` | Define a collection of frames or other framesets | (Netscape) (Internet Explorer)
border=n | Set the thickness of the frame borders in this frameset | (Netscape)
bordercolor=color | Define the color of the borders in this frameset | (Netscape)
cols=list | Specify the number and width of frames within a frameset | (Netscape) (Internet Explorer)
frameborder=value | If value is yes (Netscape only) or 1 (Netscape and Internet Explorer), enable frame borders. If value is no (Netscape only) or 0 (Netscape and Internet Explorer), disable frame borders. | (Netscape) (Internet Explorer)
framespacing=n | Define the thickness of the frame borders in this frameset | (Internet Explorer)
onblur=applet | Define an applet to be run when the mouse leaves this frameset | (Netscape)
onfocus=applet | Define an applet to be run when the mouse enters this frameset | (Netscape)
onload=applet | Define an applet to be run when this frameset is loaded | (Netscape)
onunload=applet | Define an applet to be run when this frameset is removed from the display | (Netscape)
rows=list | Specify the number and height of frames within a frameset | (Netscape) (Internet Explorer)
<hn> ... </hn> | The enclosed text is a level n header; for level n from 1 to 6 |
align=type | Specify the heading alignment as either left (default), center, or right |
class=name | Specify a style class controlling the appearance of the heading | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<head>` ... `</head>` | Delimit the beginning and end of the document head |
`<hr>` | Break the current text flow and insert a horizontal rule |
align=type | Specify the rule alignment as either left, center (default), or right |
class=name | Specify a style class controlling the appearance of the rule | (Netscape) (Internet Explorer)
color=color | Define the color of the rule | (Internet Explorer)
noshade | Do not use 3D shading to render the rule |
size=pixels | Set the thickness of the rule to an integer number of pixels |
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
width=value or % | Set the width of the rule to either an integer number of pixels or a percentage of the page width |
`<html>` ... `</html>` | Delimit the beginning and end of the entire HyperText Markup Language document |
version=string | Indicate the HTML version used to create this document |
`<i>` ... `</i>` | Format the enclosed text in an italic typeface |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<iframe>` ... `</iframe>` | Define an inline frame | (Internet Explorer)
align=position | Set the position of the frame aligned to the top, center, or bottom of the surrounding text, or flush against the left or right margins with subsequent text flowing around the frame | (Internet Explorer)
frameborder=value | If value is 1, enable frame borders. If value is 0, disable frame borders. | (Internet Explorer)
height=n | Set the height, in pixels, of the frame | (Internet Explorer)
marginheight=n | Place n pixels of space above and below the frame contents | (Internet Explorer)
marginwidth=n | Place n pixels of space to the left and right of the frame contents | (Internet Explorer)
name=name | Define the name of the frame | (Internet Explorer)
scrolling=type | Always add scrollbars (yes) or never add scrollbars (no) | (Internet Explorer)
src=url | Define the URL of the source document for this frame | (Internet Explorer)
width=n | Set the width, in pixels, of the frame | (Internet Explorer)
`<ilayer>` ... `</ilayer>` | Define an inline layer | (Netscape)
above=name | Place this layer above the named layer | (Netscape)
background=url | Specify a background image for the layer | (Netscape)
below=name | Place this layer below the named layer | (Netscape)
bgcolor=color | Specify the background color for the layer | (Netscape)
class=name | Specify a style class controlling the appearance of this tag | (Netscape)
clip=edge | Define the layer's clipping region, in pixels. If left and top are 0, they may be omitted | (Netscape)
left=n | Define, in pixels, the position of the layer's left edge from the containing line of text | (Netscape)
name=name | Provide a name for the layer | (Netscape)
src=url | Supply the content of the layer from another document | (Netscape)
style=style | Specify an inline style for this tag | (Netscape)
top=n | Define, in pixels, the position of the layer's top edge from the containing line of text | (Netscape)
visibility=value | Determine whether to show the layer, hide the layer, or inherit the visibility attribute from a containing layer | (Netscape)
width=n | Define the width, in pixels, of the layer | (Netscape)
z-index=n | Specify the layer's position in the stacking order | (Netscape)
`<img>` | Insert an image into the current text flow |
align=type | Align the image to either the top, middle, bottom (default), left, or right of the text in the line. For Netscape Navigator, additionally to the absmiddle, baseline, or absbottom of the text. |
alt=text | Provide alternative text for non-image-capable browsers |
border=n | Set the pixel thickness of the border around images contained within hyperlinks |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
controls | Add playback controls for embedded video clips | (Internet Explorer)
dynsrc=url | Specify the URL of a video clip to be displayed | (Internet Explorer)
height=n | Specify the height of the image in scan lines |
hspace=n | Specify the space, in pixels, to be added to the left and right of the image |
ismap | Indicate that the image is mouse-selectable when used within an `<a>` tag |
loop=value | Set the number of times to play the video; value may be an integer or the value infinite | (Internet Explorer)
lowsrc=url | Specify a low-resolution image to be loaded by the browser first, followed by the image specified by the src attribute | (Netscape)
name=name | Provide a name for the image for use by JavaScript | (Netscape)
onabort=applet | Provide an applet to be run if the loading of the image is aborted | (Netscape)
onerror=applet | Provide an applet to be run if the loading of the image is unsuccessful | (Netscape)
onload=applet | Provide an applet to be run if the loading of the image is successful | (Netscape)
src=url | Specify the source URL of the image to be displayed (required) |
start=start | Specify when to play the video clip, either fileopen or mouseover | (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
usemap=url | Specify the map of coordinates and links that define the hypertext links within this image |
vspace=n | Specify the vertical space, in pixels, added at the top and bottom of the image |
width=n | Specify the width of the image in pixels |
`<input type=button>` | Create a checkbox input element within a `<form>` | (Netscape) (Internet Explorer)
name=name | Specify the name of the parameter to be passed to the form-processing application if the input element is selected (required) | (Netscape) (Internet Explorer)
notab | Specifies that this element is not part of the tabbing order | (Internet Explorer)
onclick=applet | Specify an applet to be run if the user clicks this element | (Netscape) (Internet Explorer)
taborder=n | Specifies this element's position in the tabbing order | (Internet Explorer)
value=string | Specify the value of the parameter sent to the form-processing application if this form element is selected (required) | (Netscape) (Internet Explorer)
`<input type=checkbox>` | Create a checkbox input element within a `<form>` |
checked | Mark the element as initially selected |
name=string | Specify the name of the parameter to be passed to the form-processing application if the input element is selected (required) |
notab | Specifies that this element is not part of the tabbing order | (Internet Explorer)
onclick=applet | Specify an applet to be run if the user clicks this element | (Netscape) (Internet Explorer)
taborder=n | Specifies this element's position in the tabbing order | (Internet Explorer)
value=string | Specify the value of the parameter sent to the form-processing application if this form element is selected (required) |
`<input type=file>` | Create a file-selection element within a `<form>` |
maxlength=n | Specify the maximum number of characters to accept for this element |
name=name | Specify the name of the parameter that is passed to the form-processing application for this input element (required) |
notab | Specifies that this element is not part of the tabbing order | (Internet Explorer)
size=n | Specify the number of characters to display for this element |
taborder=n | Specifies this element's position in the tabbing order | (Internet Explorer)
`<input type=hidden>` | Create a hidden element within a `<form>` |
name=name | Specify the name of the parameter that is passed to the form-processing application for this input element (required) |
value=string | Specify the value of this element that is passed to the form-processing application |
`<input type=image>` | Create an image input element within a `<form>` |
align=type | Align the image to either the top, middle, or bottom of the form element's text |
border=n | Set the pixel thickness of the border of the image |
onclick=applet | Specify an applet to be run if the user clicks this element | (Netscape) (Internet Explorer)
name=name | Specify the name of the parameter to be passed to the form-processing application for this input element (required) |
notab | Specifies that this element is not part of the tabbing order | (Internet Explorer)
src=url | Specify the source URL of the image (required) |
taborder=n | Specifies this element's position in the tabbing order | (Internet Explorer)
`<input type=password>` | Create a content-protected text-input element within a `<form>` |
maxlength=n | Specify the maximum number of characters to accept for this element |
name=name | Specify the name of the parameter to be passed to the form-processing application for this input element (required) |
notab | Specifies that this element is not part of the tabbing order | (Internet Explorer)
onblur=applet | Specify an applet to be run when the mouse leaves this element | (Netscape) (Internet Explorer)
onchange=applet | Specify an applet to be run when the user changes the value of this element | (Netscape) (Internet Explorer)
onfocus=applet | Specify an applet to be run when the mouse enters this element | (Netscape) (Internet Explorer)
onselect=applet | Specify an applet to be run if the user clicks this element | (Netscape) (Internet Explorer)
size=n | Specify the number of characters to display for this element |
taborder=n | Specifies this element's position in the tabbing order | (Internet Explorer)
value=string | Specify the initial value for this element |
`<input type=radio>` | Create a radio-button input element within a `<form>` |
checked | Mark the element as initially selected |
name=name | Specify the name of the parameter that is passed to the form-processing application if this input element is selected (required) |
notab | Specifies that this element is not part of the tabbing order | (Internet Explorer)
onclick=applet | Specify an applet to be run if the user clicks this element | (Netscape) (Internet Explorer)
taborder=n | Specifies this element's position in the tabbing order | (Internet Explorer)
value=string | Specify the value of the parameter that is passed to the form-processing application if this element is selected (required) |
`<input type=reset>` | Create a reset button within a `<form>` |
notab | Specifies that this element is not part of the tabbing order | (Internet Explorer)
onclick=applet | Specify an applet to be run if the user clicks this element | (Netscape) (Internet Explorer)
taborder=n | Specifies this element's position in the tabbing order | (Internet Explorer)
value=string | Specify an alternate label for the reset button (default is "Reset") |
`<input type=submit>` | Create a submit button within a `<form>` |
name=name | Specify the name of the parameter that is passed to the form-processing application for this input element (required) |
notab | Specifies that this element is not part of the tabbing order | (Internet Explorer)
onclick=applet | Specify an applet to be run if the user clicks this element | (Netscape) (Internet Explorer)
taborder=n | Specifies this element's position in the tabbing order | (Internet Explorer)
value=string | Specify an alternate label for the submit button, as well as the value passed to the form-processing application for this parameter if this button is clicked |
`<input type=text>` | Create a text input element within a `<form>` |
maxlength=n | Specify the maximum number of characters to accept for this element |
name=name | Specify the name of the parameter that is passed to the form-processing application for this input element (required) |
notab | Specify that this element is not part of the tabbing order | (Internet Explorer)
onblur=applet | Specify an applet to be run when the mouse leaves this element | (Netscape) (Internet Explorer)
onchange=applet | Specify an applet to be run when the user changes the value of this element | (Netscape) (Internet Explorer)
onfocus=applet | Specify an applet to be run when the mouse enters this element | (Netscape) (Internet Explorer)
onselect=applet | Specify an applet to be run if the user clicks this element | (Netscape) (Internet Explorer)
size=n | Specify the number of characters to display for this element |
taborder=n | Specify this element's position in the tabbing order | (Internet Explorer)
value=string | Specify the initial value for this element |
`<isindex>` | Create a "searchable" HTML document |
action=url | PFor Internet Explorer only, provide the URL of the program that will perform the searching action | (Internet Explorer)
prompt=string | Provide an alternate prompt for the input field |
`<kbd>` ... `</kbd>` | The enclosed text is keyboard-like input |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<keygen>` | Generate key information in a form | (Netscape)
challenge=string | Provide a challenge string to be packaged with the key | (Netscape)
name=name | Provide a name for the key | (Netscape)
`<layer>` ... `</layer>` | Define a layer | (Netscape)
above=name | Place this layer above the named layer | (Netscape)
background=url | Specify a background image for the layer | (Netscape)
below=name | Place this layer below the named layer | (Netscape)
bgcolor=color | Specify the background color for the layer | (Netscape)
class=name | Specify a style class controlling the appearance of this tag | (Netscape)
clip=edge | Define the layer's clipping region, in pixels. If left and top are 0, they may be omitted | (Netscape)
left=n | Define, in pixels, the position of the layer's left edge from the containing document or layer | (Netscape)
name=name | Provide a name for the layer | (Netscape)
src=url | Supply the content of the layer from another document | (Netscape)
style=style | Specify an inline style for this tag | (Netscape)
top=n | Define, in pixels, the position of the layer's top edge from the containing document or layer | (Netscape)
visibility=value | Determine whether to show the layer, hide the layer, or inherit the visibility attribute from a containing layer | (Netscape)
width=n | Define the width, in pixels, of the layer | (Netscape)
z-index=n | Specify the layer's position in the stacking order | (Netscape)
`<li>` ... `</li>` | Delimit a list item in an ordered (`<ol>`) or unordered (`<ul>`) list |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
type=format | Set the type of this list element to the desired format. For `<li>` within `<ol>`: A (capital letters), a (lowercase letters), I (capital Roman numerals), i (lowercase Roman numerals), or 1 (Arabic numerals; default). For `<li>` within `<ul>`: circle, disc (default), or square. |
value=n | Set the number for this list item to n |
`<link>` | Define a link between this document and another document in the document `<head>` |
href=url | Specify the hypertext reference URL of the target document |
rel=relation | Indicate the relationship from this document to the target |
rev=relation | Indicate the reverse relationship from the target to this document |
title=string | Provide a title for the target document |
type=string | Specify the MIME type for the linked document. Usually used in conjunctionwith links to stylesheets, when the type is set to text/css | (Netscape) (Internet Explorer)
`<listing>` ... `</listing>` | Same as `<pre width=132>` ... `</pre>`; deprecated, do not use |
`<map>` ... `</map>` | Define a map containing hotspots in a client-side image map |
name=name | Define the name of this map (required) |
`<marquee>` ... `</marquee>` | Create a scrolling-text marquee (Internet Explorer only) | (Internet Explorer)
align=position | Align the marquee to the top, middle, or bottom of the surrounding text | (Internet Explorer)
behavior=style | Define marquee style to be scroll, slide, or alternate | (Internet Explorer)
bgcolor=color | Set the background color of the marquee | (Internet Explorer)
class=name | Specify a style class controlling the appearance of this tag | (Internet Explorer)
direction=dir | Define the direction, left or right, the text is to scroll | (Internet Explorer)
height=n | Define the height, in pixels, of the marquee area | (Internet Explorer)
hspace=n | Define the space, in pixels, to be inserted left and right of the marquee | (Internet Explorer)
loop=value | Set the number of times to animate the marquee; value is an integer or infinite | (Internet Explorer)
scrollamount=value | Set the number of pixels to move the text for each scroll movement | (Internet Explorer)
scrolldelay=value | Specify the delay, in milliseconds, between successive movements of the marquee text | (Internet Explorer)
style=style | Specify an inline style for this tag | (Internet Explorer)
vspace=n | Define the space, in pixels, to be inserted above and below of the marquee | (Internet Explorer)
width=n | Define the width, in pixels, of the marquee area | (Internet Explorer)
`<menu>` ... `</menu>` | Define a menu list containing `<li>` tags |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
compact | Make the list more compact if possible |
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
type=bullet | Set the bullet style for this list to either circle, disc (default), or square | (Netscape) (Internet Explorer)
`<meta>` | Provides additional information about a document |
charset=name | Specify the character set to be used with this document | (Internet Explorer)
content=string | Specify the value for the meta-information (required) |
http-equiv=string | Specify the HTTP equivalent name for the meta-information and cause the server to include the name and content in the HTTP header for this document when it is transmitted to the client |
name=string | Specify the name of the meta-information |
`<multicol>` ... `</multicol>` | Define a multi-column text flow | (Netscape)
class=name | Specify a style class controlling the appearance of this tag | (Netscape)
cols=n | Specify the number of columns | (Netscape)
gutter=n | Define the spacing, in pixels, between columns | (Netscape)
style=style | Specify an inline style for this tag | (Netscape)
width=n | Define the width of the entire column group | (Netscape)
`<nobr>` ... `</nobr>` | No breaks allowed in the enclosed text | (Netscape) (Internet Explorer)
`<noembed>` ... `</noembed>` | Define content to be presented by browsers that do not support the `<embed>` tag | (Netscape)
`<noframes>` ... `</noframes>` | Define content to be presented by browsers that do not support frames | (Netscape) (Internet Explorer)
`<noscript>` ... `</noscript>` | Define content to be presented by browsers that do not support the `<script>` tag | (Netscape)
`<object>` | Insert an object into a document | (Internet Explorer)
align=position | Align the object with the surrounding text (texttop, middle, textmiddle, baseline, textbottom, and center) or against the margin with subsequent text flowing around the applet (left and right) | (Netscape) (Internet Explorer)
border=n | Define, in pixels, the object's border width | (Internet Explorer)
classid=url | Supply the URL of the object | (Netscape) (Internet Explorer)
codebase=url | Supply the URL of the object's code base | (Netscape) (Internet Explorer)
codetype=type | Specify the MIME type of the code base | (Internet Explorer)
data=url | Supply data for the object | (Netscape) (Internet Explorer)
declare | Declare this object without instantiating it | (Internet Explorer)
height=n | Define, in pixels, the height of the object | (Netscape) (Internet Explorer)
hspace=n | Provide extra space, in pixels, to the right and left of the object | (Internet Explorer)
id=name | Define the name of this object | (Netscape)
name=name | Define the name of this object | (Internet Explorer)
notab | Do not make this object part of the tabbing order | (Internet Explorer)
shapes | Specify that this object has shaped hyperlinks | (Internet Explorer)
standby=string | Define a message to display while the object loads | (Internet Explorer)
tabindex=n | Specify this object's position in the document tab order | (Internet Explorer)
title=string | Provide a title for this object | (Internet Explorer)
type=type | Specify the MIME type for the object data | (Netscape) (Internet Explorer)
usemap=url | Defines an image map for use with this object | (Internet Explorer)
vspace=n | Provide extra space, in pixels, above and below of the object | (Internet Explorer)
width=n | Define, in pixels, the width of the object | (Netscape) (Internet Explorer)
`<ol>` ... `</ol>` | Define an ordered list containing numbered (ascending) `<li>` elements |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
compact | Present the list in a more compact manner |
start=n | Start numbering the list at n, instead of 1 |
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
type=format | Set the numbering format for this list to either A (capital letters), a (lowercase letters), I (capital Roman numerals), i (lowercase Roman numerals), or 1 (Ararbic numerals; default) |
`<option>` ... `</option>` | Define an option within a `<select>` item in a `<form>` |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
selected | Make this item initially selected |
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
value=string | Return the specified value to the form-processing application instead of the `<option>` contents |
`<p>` ... `</p>` | Start and end a paragraph |
align=type | Align the text within the paragraph to left, center, or right |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<param>` ... `</param>` | Supply a parameter to a containing `<applet>` |
name=name | Define the name of the parameter |
type=type | Specify the MIME type of the parameter | (Internet Explorer)
value=string | Define the value of the parameter |
valuetype=type | Define the type of the value attribute, either as data, ref (the value is a URL pointing to the data), or object (the value is the name of an object in this document) | (Internet Explorer)
`<plaintext>` | Render the remainder of the document as preformatted plain text |
`<pre>` ... `</pre>` | Render the enclosed text in its original, preformatted style, honoring line breaks and spacing verbatim |
width=n | Size the text, if possible, so that n characters fit across the display window |
`<s>` ... `</s>` | Same as `<strike>`. The enclosed text is struck through with a horizontal line | (Netscape) (Internet Explorer)
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<samp>` ... `</samp>` | The enclosed text is a sample |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<script>` ... `</script>` | Define a script within a document | (Netscape) (Internet Explorer)
language=name | Specify the script language as either vbscript or javascript | (Netscape) (Internet Explorer)
src=url | Provide the URL of the document containing the scripts | (Netscape) (Internet Explorer)
`<select>` ... `</select>` | Define a multiple-choice menu or scrolling list within a `<form>`, containing one or more `<option>` tags |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
multiple | Allow user to select more than one `<option>` within the `<select>` |
name=name | Define the name for the selected `<option>` values that, if selected, are passed to the form-processing application (required) |
onblur=applet | Specify an applet to be run when the mouse leaves this element | (Netscape)
onchange=applet | Specify an applet to be run when the user changes the value of this element | (Netscape)
onclick=applet | Specify an applet to be run if the user clicks this element | (Netscape)
onfocus=applet | Specify an applet to be run when the mouse enters this element | (Netscape)
size=n | Display n items using a pulldown menu for size=1 (without multiple specified) and a scrolling list of n items otherwise |
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<server>` ... `</server>` | Define a LiveWire script | (Netscape)
`<small>` ... `</small>` | Format the enclosed text using a smaller typeface |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<spacer>` | Create blank space in a document | (Netscape)
align=position | Align a block spacer with either the surrounding text (top, texttop, middle, absmiddle, baseline, bottom, absbottom) or against a margin with subsequent text flowing around the spacer (left and right) | (Netscape)
height=n | Define the height, in pixels, of a block spacer | (Netscape)
size=n | Define the length, in pixels, of a horizontal or vertical spacer | (Netscape)
type=type | Set spacer type to one of block, horizontal, or vertical | (Netscape)
width=value | Define the width, in pixels, of a block spacer | (Netscape)
`<span>` ... `</span>` | Define a span of text for style application | (Netscape) (Internet Explorer)
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<strike>` ... `</strike>` | The enclosed text is struck through with a horizontal line |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<strong>` ... `</strong>` | Strongly emphasize the enclosed text |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<style>` ... `</style>` | Define one or more document level styles | (Netscape) (Internet Explorer)
type=type | Define the format of the styles (always text/css) | (Netscape) (Internet Explorer)
`<sub>` ... `</sub>` | Format the enclosed text as subscript |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<sup>` ... `</sup>` | Format the enclosed text as superscript |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<table>` ... `</table>` | Define a table |
align=position | Align the table either left or right and flow the subsequent text around the table |
background=url | Define a background image for the table | (Internet Explorer)
bgcolor=color | Define the background color for the entire table | (Netscape) (Internet Explorer)
border=n | Create a border n pixels wide |
bordercolor=color | Define the border color for the entire table | (Internet Explorer)
bordercolordark=color | Define the dark border-highlighting color for the entire table | (Internet Explorer)
bordercolorlight=color | Define the light border-highlighting color for the entire table | (Internet Explorer)
cellpadding=n | Place n pixels of padding around each cell's contents |
cellspacing=n | Place n pixels of spacing between cells |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
cols=n | Specify the number of columns in this table | (Netscape) (Internet Explorer)
frame=type | Define where table borders are displayed, either border (default), void, above, below, hsides, lhs, rhs, vsides, or box | (Internet Explorer)
height=n | Define the height of the table in pixels | (Netscape)
hspace=n | Specify the horizontal space, in pixels, added at the left and right of the table | (Netscape)
nowrap | Supress text wrapping in table cells | (Internet Explorer)
rules=edges | Determine where inner dividers are drawn, either none (default), groups (only around row and column groups), rows, cols, or all. | (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
valign=position | Align text in the table to either the top, center, bottom, or baseline | (Internet Explorer)
vspace=n | Specify the vertical space, in pixels, added at the top and bottom of the table | (Netscape)
width=n | Set the width of the table to n pixels or a percentage of the window width |
`<tbody>`...`</tbody>` | Create a row group within a table | (Internet Explorer)
`<td>` ... `</td>` | Define a table data cell |
align=position | Align the cell contents to the left, center, or right |
background=url | Define a background image for this cell | (Internet Explorer)
bgcolor=color | Define the background color for the cell | (Netscape) (Internet Explorer)
bordercolor=color | Define the border color for the cell | (Internet Explorer)
bordercolordark=color | Define the dark border highlighting color for the cell | (Internet Explorer)
bordercolorlight=color | Define the light border highlighting color for the cell | (Internet Explorer)
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
colspan=n | Have this cell straddle n adjacent columns |
height=n | Define the height, in pixels, for this cell |
nowrap | Do not automatically wrap and fill text in this cell |
rowspan=n | Have this cell straddle n adjacent rows |
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
valign=position | Vertically align this cell's contents to the top, center, bottom, or baseline of the cell |
width=n | Set the width of this cell to n pixels or a percentage of the table width |
`<textarea>` ... `</textarea>` | Define a multiline text input area within a `<form>`; content of the `<textarea>` tag is the initial, default value |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
cols=n | Display n columns (characters) of text within the text area |
name=string | Define the name for the text-area value that is passed to the form-processing application (required) |
onblur=applet | Specify an applet to be run when the mouse leaves this element | (Netscape)
onchange=applet | Specify an applet to be run when the user changes the value of this element | (Netscape)
onfocus=applet | Specify an applet to be run when the mouse enters this element | (Netscape)
onselect=applet | Specify an applet to be run if the user clicks this element | (Netscape)
rows=n | Display n rows of text within the text area |
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
wrap=style | Set word wrapping within the text area to off, virtual (display wrap, but do not transmit to server), or physical (display and transmit wrap) | (Netscape)
`<tfoot>` ... `</tfoot>` | Define a table footer | (Internet Explorer)
`<th>` ... `</th>` | Define a table header cell |
align=position | Align the cell contents to the left, center, or right |
background=url | Define a background image for this cell | (Internet Explorer)
bgcolor=color | Define the background color for the cell | (Netscape) (Internet Explorer)
bordercolor=color | Define the border color for the cell | (Internet Explorer)
bordercolordark=color | Define the dark border highlighting color for the cell | (Internet Explorer)
bordercolorlight=color | Define the light border highlighting color for the cell | (Internet Explorer)
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
colspan=n | Have this cell straddle n adjacent columns |
height=n | Define the height, in pixels, of this cell |
nowrap | Do not automatically wrap and fill text in this cell |
rowspan=n | Have this cell straddle n adjacent rows |
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
valign=position | Vertically align this cell's contents to the top, center, bottom, or baseline of the cell |
width=n | Set the width of this cell to n pixels or a percentage of the table width |
`<thead>` ... `</thead>` | Define a table heading | (Internet Explorer)
align=position | Define the horizontal text alignment in the heading, either left, center, right, or justify | (Internet Explorer)
class=name | Specify a style class controlling the appearance of this tag | (Internet Explorer)
style=style | Specify an inline style for this tag | (Internet Explorer)
valign=position | Define the vertical text alignment in the heading, either left, center, right, or justify | (Internet Explorer)
`<title>` ... `</title>` | Define the HTML document's title |
`<tr>` ... `</tr>` | Define a row of cells within a table |
align=type | Align the cell contents in this row to the left, center, or right |
bgcolor=color | Define the background color for this row | (Netscape) (Internet Explorer)
bordercolor=color | For Internet Explorer, define the border color for this row | (Internet Explorer)
bordercolordark=color | For Internet Explorer, define the dark border-highlighting color for this row | (Internet Explorer)
bordercolorlight=color | For Internet Explorer, define the light border-highlighting color for this row | (Internet Explorer)
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
nowrap | Disable word wrap for all cells in this row | (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
valign=position | Vertically align the cell contents in this row to the top, center, bottom, or baseline of the cell |
`<tt>` ... `</tt>` | Format the enclosed text in teletype-style (monospaced) font |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<u>` ... `</u>` | The enclosed text is underlined |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<ul>` ... `</ul>` | Define an unordered list of bulleted `<li>` elements |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
compact | Display the list in a more compact manner |
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
type=bullet | Set the bullet style for this list to either circle, disc (default), or square |
`<var>` ... `</var>` | The enclosed text is a variable's name |
class=name | Specify a style class controlling the appearance of this tag | (Netscape) (Internet Explorer)
style=style | Specify an inline style for this tag | (Netscape) (Internet Explorer)
`<wbr>` | Indicate a potential word break point within a `<nobr>` section | (Netscape) (Internet Explorer)
`<xmp>` ... `</xmp>` | Same as `<pre width=80>` ... `</pre>`; deprecated, do not use |

The Grammar |  | Cascading Style Sheet Properties Quick Reference