Team LiB   Previous Section   Next Section

B.2 HTML Quick Reference

As with the other sections of this book, we use the Netscape and Internet Explorer icons to the far right of each item to indicate tags and attributes that are extensions to the HTML 4.01 and XHTML 1.0 standards. If no icon is shown, the tag or attribute is part of the HTML 4.01 and XHTML 1.0 standards.

We include the 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)

 

accesskey=char

Define the hot-key character for this anchor

 

charset=encoding

Specify the character set used to encode the target

 

coords=list

Specify a list of shape-dependent coordinates

 

href=url

Specify the URL of a hyperlink target

 

hreflang=language

Specify the language encoding for the target

 

name=name

Specify the name of a fragment identifier

 

rel=relationship

Indicate the relationship of this document to the target

 

rev=relationship

Indicate the reverse relationship of the target to this document

 

shape=shape

Define the region's shape to be circ, circle, poly, polygon, rect, or rectangle

 

tabindex=value

Define the position of this anchor in the document's tabbing order

 

target=name

Define the name of the frame or window to receive the referenced document

 

type=type

Specify the MIME type of the target

 

<abbr> ... </abbr>

The enclosed text is an abbreviation

 

<acronym> ... </acronym>

The enclosed text is an acronym

 

<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

 

class=name

Specify a style class controlling the appearance of this tag

 

code=class

Specify the class name of the code to be executed (required)

 

codebase=url

Specify the 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

 

id=name

Define a name for this applet that is unique to this document

 

mayscript

Allow the applet to access JavaScript within the page

figs/n.gif

name=name

Specify the name of this particular instance of the applet

 

object=data

Specify a representation of the object's execution state

 

style=style

Specify an inline style for this tag

 

title=string

Provide a title for the applet

 

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

 

accesskey=char

Define the hot-key character for this area

 

alt=string

Provide alternative text to be displayed by nongraphical browsers

 

coords=list

Specify a comma-separated list of shape-dependent coordinates that defines 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

figs/i.gif

onblur=applet

Specify an applet to be run when the mouse leaves the area

 

onfocus=applet

Specify an applet to be run when the mouse enters the area

 

shape=shape

Define the region's shape to be circ, circle, poly, polygon, rect, or rectangle

 

tabindex=value

Define the position of this area in the document's tabbing order

 

taborder=n

Specify this area's position in the tabbing order

figs/i.gif

target=name

Specify the frame or window to receive the document linked by this area

figs/n.gif figs/i.gif

<b> ... </b>

Format the enclosed text using a bold typeface

 

<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

 

<basefont>

Specify the font size for subsequent text (deprecated; do not use)

*

color=color

Specify the base font's color

 

face=name

Specify the local font to be used for the base font

 

id=name

Define a name for this tag that is unique to this document

 

name=name

Specify the local font to be used for the base font

figs/i.gif

size=value

Set the base font size, from 1 to 7 (required; default is 3)

 

<bdo> ... </bdo>

Bidirectional override, changing the rendering direction of the enclosed text

*

class=name

Specify a style class controlling the appearance of this tag

 

dir=dir

Specify the rendering direction for text — either left to right (ltr) or right to left (rtl)

 

id=name

Define a name for this tag that is unique to this document

 

lang=language

Specify the language used for this tag's contents using a standard two-character ISO language name

 

style=style

Specify an inline style for this tag

 

title=string

Specify a title for this tag

 

<bgsound>

Define background audio for the document

*

loop=value

Set the number of times to play the audio; value may be an integer or the value infinite

figs/i.gif

src=url

Provide the URL of the audio file to be played

figs/i.gif

<big> ... </big>

Format the enclosed text using a bigger typeface

 

<blink> ... </blink>

Cause the enclosed content to blink

figs/n.gif

<blockquote> ... </blockquote>

The enclosed text is a block quotation

 

cite=url

Specify the URL of the source of the quoted material

 

<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

figs/i.gif

leftmargin=value

Set the size, in pixels, of the document's left margin

figs/i.gif

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

figs/n.gif figs/i.gif

onfocus=applet

Specify an applet to be run when the mouse enters the document window

figs/n.gif figs/i.gif

onload=applet

Specify an applet to be run when the document is loaded

 

onunload=applet

Specify an applet to be run when the document is unloaded

 

text=color

Set the color of regular text in the document

 

topmargin=value

Set the size, in pixels, of the document's top margin

figs/i.gif

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

*

class=name

Specify a style class controlling the appearance of this tag

 

clear=margin

Break the flow and move downward until the desired margin, either left, right, none, or all, is clear

 

id=name

Define a name for this tag that is unique to this document

 

style=style

Specify an inline style for this tag

 

title=string

Specify a title for this tag

 

<button>

Create a push-button element within a <form>

 

accesskey=char

Define the hot-key character for this button

 

disabled

Disable the button, preventing the user from clicking it

 

name=name

Specify the name of the parameter to be passed to the forms-processing application if the input element is selected (required)

 

onblur=applet

Specify an applet to be run when the mouse moves out of the button

 

onfocus=applet

Specify an applet to be run when the mouse moves into the button

 

tabindex=n

Specify this element's position in the tabbing order

 

type=type

Specify the button type — either button, submit, or reset

 

value=string

Specify the value of the parameter sent to the forms-processing application if this form element is selected (required)

 

<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

 

valign=position

Set the vertical position of the caption to either top or bottom

figs/i.gif

<center> ... </center>

Center the enclosed text

 

<cite> ... </cite>

The enclosed text is a citation

 

<code> ... </code>

The enclosed text is a code sample

 

<col>

Define a column within a <colgroup>

 

align=position

Set the column alignment to left, center, or right

 

char=character

Specify the alignment character for text in these cells

 

charoff=value

Set the offset within the cell at which the alignment character is placed

 

span=n

Define the number of columns affected by this <col> tag

 

valign=position

Set the vertical alignment of text within the column to either top, middle, or bottom

 

width=n

Set the width, in pixels or as a percentage, of the column

 

<colgroup>

Define a column group within a table

 

align=position

Set the horizontal alignment of text within the columns to either left, center, or right

 

char=character

Specify the alignment character for text in these cells

 

charoff=value

Set the offset within the cell at which the alignment character is placed

 

span=n

Define the number of columns in the group

 

valign=position

Set the vertical alignment of text within the columns to either top, middle, or bottom

 

width=n

Set the width, in pixels or as a percentage, of each column in the group

 

<comment> ... </comment>

Place a comment in the document (comments are visible in all other browsers)

figs/i.gif *

<dd> ... </dd>

Define the definition portion of an element in a definition list

 

<del> ... </del>

Delineate a deleted section of a document

 

cite=url

Cite a document justifying the deletion

 

datetime=date

Specify the date and time of the deletion

 

<dfn> ... </dfn>

Format the enclosed text as a definition

 

<dir> ... </dir>

Create a directory list containing <li> tags

 

type=bullet

Set the bullet style for this list to either circle, disc (default), or square

figs/n.gif figs/i.gif

<div> ... </div>

Create a division within a document

 

align=type

Align the text within the division to left, center, or right

 

nowrap

Suppress word wrapping within this division

figs/i.gif

<dl> ... </dl>

Create a definition list containing <dt> and <dd> tags

 

compact

Make the list more compact if possible

 

<dt> ... </dt>

Define the definition term portion of an element in a definition list

 

<em> ... </em>

Format the enclosed text with additional emphasis

 

<embed>

Embed an application in a document

figs/n.gif figs/i.gif *

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

figs/n.gif figs/i.gif

border=n

Specify the size, in pixels, of the border around the applet

figs/n.gif

height=n

Specify the height, in pixels, of the applet

figs/n.gif figs/i.gif

hidden

If present, hide the applet on the page

figs/n.gif figs/i.gif

hspace=n

Define, in pixels, additional space to be placed to the left and right of the applet

figs/n.gif

name=name

Provide a name for the applet

figs/n.gif figs/i.gif

palette=value

In Netscape, a value of foreground causes the applet to use the foreground palette (in Windows only), while background uses the background palette; in Internet Explorer, provide the foreground and background colors for the applet, specified as two color values separated by a vertical bar (|)

figs/n.gif figs/i.gif

pluginspage=url

Provide the URL of the page containing instructions for installing the plug-in associated with the applet

figs/n.gif

src=url

Supply the URL of the data to be fed to the applet

figs/n.gif figs/i.gif

type=type

Specify the MIME type of the plug-in to be used

figs/n.gif

units=type

Set the units for the height and width attributes to either pixels (the default) or en (half the text point size)

figs/n.gif figs/i.gif

vspace=n

Define, in pixels, additional space to be placed above and below the applet

figs/n.gif

width=n

Specify the width, in pixels, of the applet

figs/n.gif figs/i.gif

<fieldset> ... </fieldset>

Create a group of elements in a form

 

<font> ... </font>

Set the size or color of the enclosed text (deprecated; do not use)

*

class=name

Specify a style class controlling the appearance of this tag

 

color=color

Set the color of the enclosed text to the desired color

 

dir=dir

Specify the rendering direction for text — either left to right (ltr) or right to left (rtl)

 

face=list

Set the typeface of the enclosed text to the first available font in the comma-separated list of font names

 

id=name

Define a name for this tag that is unique to this document

 

lang=language

Specify the language used for this tag's contents using a standard two-character ISO language name

 

size=value

Set the size to an absolute size, from 1 to 7, or relative to the <basefont> size, using +n or -n (required)

 

style=style

Specify an inline style for this tag

 

title=string

Specify a title for this tag

 

<form> ... </form>

Delimit a form

 

accept-charset=list

Specify a list of character sets accepted by the server processing this form

 

action=url

Specify the URL of the application that processes the form (required)

 

enctype=encoding

Specify how the form element values are 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

figs/n.gif

onreset=applet

Specify an applet to be run when the form is reset

 

onsubmit=applet

Specify an applet to be run when the form is submitted

 

target=name

Specify the name of the frame or window to receive the results of the form after submission

 

<frame> ... </frame>

Define a frame within a frameset

*

bordercolor=color

Set the color of the frame's border

figs/n.gif figs/i.gif

class=name

Specify a style class controlling the appearance of this tag

 

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

 

id=name

Define a name for this tag that is unique to this document

 

longdesc=url

Provide the URL of a document describing the contents of the frame

 

marginheight=n

Place n pixels of space above and below the frame contents

 

marginwidth=n

Place n pixels of space to the left and right of the frame contents

 

name=name

Define the name of the frame

 

noresize

Disable user resizing of the frame

 

scrolling=type

Always add scrollbars (yes), never add scrollbars (no), or, for Netscape only, add scrollbars when needed (auto)

 

src=url

Define the URL of the source document for this frame

 

style=style

Specify an inline style for this tag

 

title=string

Specify a title for this tag

 

<frameset> ... </frameset>

Define a collection of frames or other framesets

*

border=n

Set the thickness of the frame borders in this frameset

figs/n.gif figs/i.gif

bordercolor=color

Define the color of the borders in this frameset

figs/n.gif figs/i.gif

cols=list

Specify the number and width of frames within a frameset

 

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

figs/n.gif figs/i.gif

framespacing=n

Define the thickness of the frame borders in this frameset

figs/i.gif

onblur=applet

Define an applet to be run when the mouse leaves this frameset

 

onfocus=applet

Define an applet to be run when the mouse enters this frameset

 

onload=applet

Define an applet to be run when this frameset is loaded

 

onunload=applet

Define an applet to be run when this frameset is removed from the display

 

rows=list

Specify the number and height of frames within a frameset

 

<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

 

<head> ... </head>

Delimit the beginning and end of the document head

*

dir=dir

Specify the rendering direction for text — either left to right (ltr) or right to left (rtl)

 

lang=language

Specify the language used for this tag's contents using a standard two-character ISO language name

 

profile=url

Provide the URL of a profile for this document

 

<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

 

color=color

Define the color of the rule

figs/i.gif

dir=dir

Specify the rendering direction for text — either left to right (ltr) or right to left (rtl)

 

id=name

Define a name for this tag that is unique to this document

 

lang=language

Specify the language used for this tag's contents using a standard two-character ISO language name

 

noshade

Do not use 3D shading to render the rule

 

onclick=applet

Specify an applet to be executed when the mouse button is clicked on this tag

 

ondblclick=applet

Specify an applet to be executed when the mouse button is double-clicked on this tag

 

onkeydown=applet

Specify an applet to be executed when a key is pressed down while this tag has input focus

 

onkeypress=applet

Specify an applet to be executed when a key is pressed and released while this tag has focus

 

onkeyup=applet

Specify an applet to be executed when a key is released while this tag has focus

 

onmousedown=applet

Specify an applet to be executed when a mouse button is pressed down on this tag

 

onmousemove=applet

Specify an applet to be executed when the mouse is moved over this tag

 

onmouseout=applet

Specify an applet to be executed when the mouse moves out of this tag's display area

 

onmouseover=applet

Specify an applet to be executed when the mouse moves into this tag's display area

 

onmouseup=applet

Specify an applet to be executed when a mouse button is released while over this tag

 

size=pixels

Set the thickness of the rule to an integer number of pixels

 

style=style

Specify an inline style for this tag

 

title=string

Specify a title for this tag

 

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

*

dir=dir

Specify the rendering direction for text — either left to right (ltr) or right to left (rtl)

 

lang=language

Specify the language used for this tag's contents using a standard two-character ISO language name

 

version=string

Indicate the HTML version used to create this document

 

<i> ... </i>

Format the enclosed text in an italic typeface

 

<iframe> ... </iframe>

Define an inline frame

*

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

 

class=name

Specify a style class controlling the appearance of the frame

 

frameborder=value

If value is 1, enable frame borders; if value is 0, disable frame borders

 

height=n

Set the height, in pixels, of the frame

 

id=name

Define a name for this tag that is unique to this document

 

longdesc=url

Provide the URL of a document describing the contents of the frame

 

marginheight=n

Place n pixels of space above and below the frame contents

 

marginwidth=n

Place n pixels of space to the left and right of the frame contents

 

name=name

Define the name of the frame

 

scrolling=type

Always add scrollbars (yes) or never add scrollbars (no)

 

src=url

Define the URL of the source document for this frame

 

style=style

Specify an inline style for this tag

 

title=string

Specify a title for this tag

 

width=n

Set the width, in pixels, of the frame

 

<ilayer> ... </ilayer>

Define an inline layer

figs/n.gif *

above=name

Place this layer above the named layer

figs/n.gif

background=url

Specify a background image for the layer

figs/n.gif

below=name

Place this layer below the named layer

figs/n.gif

bgcolor=color

Specify the background color for the layer

figs/n.gif

class=name

Specify a style class controlling the appearance of this tag

figs/n.gif

clip=edge

Define the layer's clipping region, in pixels; if left and top are 0, they may be omitted

figs/n.gif

left=n

Define, in pixels, the position of the layer's left edge from the containing line of text

figs/n.gif

name=name

Provide a name for the layer

figs/n.gif

src=url

Supply the content of the layer from another document

figs/n.gif

style=style

Specify an inline style for this tag

figs/n.gif

top=n

Define, in pixels, the position of the layer's top edge from the containing line of text

figs/n.gif

visibility=value

Determine whether to show the layer, hide the layer, or inherit the visibility attribute from a containing layer

figs/n.gif

width=n

Define the width, in pixels, of the layer

figs/n.gif

z-index=n

Specify the layer's position in the stacking order

figs/n.gif

<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, or for Netscape, 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

 

controls

Add playback controls for embedded video clips

figs/i.gif

dynsrc=url

Specify the URL of a video clip to be displayed

figs/i.gif

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

 

longdesc=url

Provide the URL of a document describing the image

 

loop=value

Set the number of times to play the video; value may be an integer or the value infinite

figs/i.gif

lowsrc=url

Specify a low-resolution image to be loaded by the browser first, followed by the image specified by the src attribute

figs/n.gif

name=name

Provide a name for the image for use by JavaScript

figs/n.gif

onabort=applet

Provide an applet to be run if the loading of the image is aborted

figs/n.gif

onerror=applet

Provide an applet to be run if the loading of the image is unsuccessful

figs/n.gif

onload=applet

Provide an applet to be run if the loading of the image is successful

figs/n.gif

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

figs/i.gif

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 push-button element within a <form>

 

accesskey=char

Define the hot-key character for this element

 

disabled

Disable this control, making it inactive

 

name=name

Specify the name of the parameter to be passed to the forms-processing application if the input element is selected (required)

 

notab

Specify that this element is not part of the tabbing order

figs/i.gif

onblur=applet

Specify an applet to be run when the mouse leaves this control

 

onfocus=applet

Specify an applet to be run when the mouse enters this control

 

tabindex=n

Specify this element's position in the tabbing order

 

taborder=n

Specify this element's position in the tabbing order

figs/i.gif

value=string

Specify the value of the parameter sent to the forms-processing application if this form element is selected (required)

 

<input type=checkbox>

Create a checkbox input element within a <form>

 

accesskey=char

Define the hot-key character for this element

 

checked

Mark the element as initially selected

 

disabled

Disable this control, making it inactive

 

name=string

Specify the name of the parameter to be passed to the forms-processing application if the input element is selected (required)

 

notab

Specify that this element is not part of the tabbing order

figs/i.gif

readonly

Prevent user modification of this element

 

tabindex=n

Specify this element's position in the tabbing order

 

taborder=n

Specify this element's position in the tabbing order

figs/i.gif

value=string

Specify the value of the parameter sent to the forms-processing application if this form element is selected (required)

 

<input type=file>

Create a file-selection element within a <form>

 

accept=list

Specify list of MIME types that can be accepted by this element

 

accesskey=char

Define the hot-key character for this element

 

disabled

Disable this control, making it inactive

 

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 forms-processing application for this input element (required)

 

notab

Specify that this element is not part of the tabbing order

figs/i.gif

onblur=applet

Specify an applet to be run when the mouse leaves this control

 

onchange=applet

Specify an applet to be run when the user changes the value of this element

 

onfocus=applet

Specify an applet to be run when the mouse enters this control

 

readonly

Prevent user modification of this element

 

size=n

Specify the number of characters to display for this element

 

tabindex=n

Specify this element's position in the tabbing order

 

taborder=n

Specify this element's position in the tabbing order

figs/i.gif

value=string

Specify the value of the parameter sent to the forms-processing application if this form element is selected (required)

 

<input type=hidden>

Create a hidden element within a <form>

 

name=name

Specify the name of the parameter that is passed to the forms-processing application for this input element (required)

 

value=string

Specify the value of this element that is passed to the forms-processing application

 

<input type=image>

Create an image input element within a <form>

 

accesskey=char

Define the hot-key character for this element

 

align=type

Align the image to either the top, middle, or bottom of the form element's text

 

alt=string

Provide an alternative description for the image

 

border=n

Set the pixel thickness of the border of the image

 

disabled

Disable this control, making it inactive

 

name=name

Specify the name of the parameter to be passed to the forms-processing application for this input element (required)

 

notab

Specify that this element is not part of the tabbing order

figs/i.gif

src=url

Specify the source URL of the image (required)

 

tabindex=n

Specify this element's position in the tabbing order

 

taborder=n

Specify this element's position in the tabbing order

figs/i.gif

usemap=url

Specify the URL of a map to be used with this image

 

<input type=password>

Create a content-protected text-input element within a <form>

 

accesskey=char

Define the hot-key character for this element

 

disabled

Disable this control, making it inactive

 

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 forms-processing application for this input element (required)

 

notab

Specify that this element is not part of the tabbing order

figs/i.gif

onblur=applet

Specify an applet to be run when the mouse leaves this element

 

onchange=applet

Specify an applet to be run when the user changes the value of this element

 

onfocus=applet

Specify an applet to be run when the mouse enters this element

 

onselect=applet

Specify an applet to be run if the user clicks this element

 

readonly

Prevent user modification of this element

 

size=n

Specify the number of characters to display for this element

 

tabindex=n

Specify this element's position in the tabbing order

 

taborder=n

Specify this element's position in the tabbing order

figs/i.gif

value=string

Specify the initial value for this element

 

<input type=radio>

Create a radio-button input element within a <form>

 

accesskey=char

Define the hot-key character for this element

 

checked

Mark the element as initially selected

 

disabled

Disable this control, making it inactive

 

name=string

Specify the name of the parameter to be passed to the forms-processing application if the input element is selected (required)

 

notab

Specify that this element is not part of the tabbing order

figs/i.gif

readonly

Prevent user modification of this element

 

tabindex=n

Specify this element's position in the tabbing order

 

taborder=n

Specify this element's position in the tabbing order

figs/i.gif

value=string

Specify the value of the parameter sent to the forms-processing application if this form element is selected (required)

 

<input type=reset>

Create a reset button within a <form>

 

accesskey=char

Define the hot-key character for this element

 

disabled

Disable this control, making it inactive

 

notab

Specify that this element is not part of the tabbing order

figs/i.gif

tabindex=n

Specify this element's position in the tabbing order

 

taborder=n

Specify this element's position in the tabbing order

figs/i.gif

value=string

Specify an alternate label for the reset button (default is "Reset")

 

<input type=submit>

Create a submit button within a <form>

 

accesskey=char

Define the hot-key character for this element

 

disabled

Disable this control, making it inactive

 

name=name

Specify the name of the parameter that is passed to the forms-processing application for this input element (required)

 

notab

Specify that this element is not part of the tabbing order

figs/i.gif

tabindex=n

Specify this element's position in the tabbing order

 

taborder=n

Specify this element's position in the tabbing order

figs/i.gif

value=string

Specify an alternate label for the submit button, as well as the value passed to the forms-processing application for this parameter if this button is clicked

 

<input type=text>

Create a text-input element within a <form>

 

accesskey=char

Define the hot-key character for this element

 

disabled

Disable this control, making it inactive

 

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 forms-processing application for this input element (required)

 

notab

Specify that this element is not part of the tabbing order

figs/i.gif

onblur=applet

Specify an applet to be run when the mouse leaves this element

 

onchange=applet

Specify an applet to be run when the user changes the value of this element

 

onfocus=applet

Specify an applet to be run when the mouse enters this element

 

onselect=applet

Specify an applet to be run if the user clicks this element

 

readonly

Prevent user modification of this element

 

size=n

Specify the number of characters to display for this element

 

tabindex=n

Specify this element's position in the tabbing order

 

taborder=n

Specify this element's position in the tabbing order

figs/i.gif

value=string

Specify the initial value for this element

 

<ins> ... </ins>

Delineate an inserted section of a document

 

cite=url

Cite a document dissatisfying the insertion

 

datetime=date

Specify the date and time of the insertion

 

<isindex>

Create a "searchable" HTML document (deprecated; do not use)

*

action=url

For Internet Explorer only, provide the URL of the program that performs the searching action

figs/i.gif

class=name

Specify a style class controlling the appearance of this tag

 

dir=dir

Specify the rendering direction for text — either left to right (ltr) or right to left (rtl)

 

id=name

Define a name for this tag that is unique to this document

 

lang=language

Specify the language used for this tag's contents using a standard two-character ISO language name

 

prompt=string

Provide an alternate prompt for the input field

 

style=style

Specify an inline style for this tag

 

title=string

Specify a title for this tag

 

<kbd> ... </kbd>

The enclosed text is keyboard-like input

 

<keygen>

Generate key information in a form

figs/n.gif *

challenge=string

Provide a challenge string to be packaged with the key

figs/n.gif

name=name

Provide a name for the key

figs/n.gif

<label> ... </label>

Define a label for a form control

 

accesskey=char

Define the hot-key character for this label

 

for=name

Specify the form element associated with this label

 

onblur=applet

Specify an applet to be run when the mouse leaves this label

 

onfocus=applet

Specify an applet to be run when the mouse enters this label

 

<layer> ... </layer>

Define a layer

figs/n.gif *

above=name

Place this layer above the named layer

figs/n.gif

background=url

Specify a background image for the layer

figs/n.gif

below=name

Place this layer below the named layer

figs/n.gif

bgcolor=color

Specify the background color for the layer

figs/n.gif

class=name

Specify a style class controlling the appearance of this tag

figs/n.gif

clip=edge

Define the layer's clipping region, in pixels; if left and top are 0, they may be omitted

figs/n.gif

left=n

Define, in pixels, the position of the layer's left edge from the containing document or layer

figs/n.gif

name=name

Provide a name for the layer

figs/n.gif

src=url

Supply the content of the layer from another document

figs/n.gif

style=style

Specify an inline style for this tag

figs/n.gif

top=n

Define, in pixels, the position of the layer's top edge from the containing document or layer

figs/n.gif

visibility=value

Determine whether to show the layer, hide the layer, or inherit the visibility attribute from a containing layer

figs/n.gif

width=n

Define the width, in pixels, of the layer

figs/n.gif

z-index=n

Specify the layer's position in the stacking order

figs/n.gif

<legend> ... </legend>

Define a legend for a form field set

 

accesskey=char

Define the hot-key character for this legend

 

align=position

Align the legend to the top, bottom, left, or right of the field set

 

<li> ... </li>

Delimit a list item in an ordered (<ol>) or unordered (<ul>) list

 

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>

 

charset=charset

Specify the character set used to encode the target of this link

 

href=url

Specify the hypertext reference URL of the target document

 

hreflang=language

Specify the language used for the target's contents using a standard two-character ISO language name

 

media=list

Specify a list of media types upon which this object can be rendered

 

rel=relation

Indicate the relationship from this document to the target

 

rev=relation

Indicate the reverse relationship from the target to this document

 

type=string

Specify the MIME type for the linked document. Usually used in conjunction with links to stylists, when the type is set to text/css

 

<listing> ... </listing>

Same as <pre width=132> ... </pre> (deprecated; do not use)

 

<map> ... </map>

Define a map containing hot spots 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)

figs/i.gif *

align=position

Align the marquee to the top, middle, or bottom of the surrounding text

figs/i.gif

behavior=style

Define the marquee style to be scroll, slide, or alternate

figs/i.gif

bgcolor=color

Set the background color of the marquee

figs/i.gif

class=name

Specify a style class controlling the appearance of this tag

figs/i.gif

direction=dir

Define the direction, left or right, the text is to scroll

figs/i.gif

height=n

Define the height, in pixels, of the marquee area

figs/i.gif

hspace=n

Define the space, in pixels, to be inserted to the left and right of the marquee

figs/i.gif

loop=value

Set the number of times to animate the marquee; value is an integer or infinite

figs/i.gif

scrollamount=value

Set the number of pixels to move the text for each scroll movement

figs/i.gif

scrolldelay=value

Specify the delay, in milliseconds, between successive movements of the marquee text

figs/i.gif

style=style

Specify an inline style for this tag

figs/i.gif

vspace=n

Define the space, in pixels, to be inserted above and below the marquee

figs/i.gif

width=n

Define the width, in pixels, of the marquee area

figs/i.gif

<menu> ... </menu>

Define a menu list containing <li> tags

 

type=bullet

Set the bullet style for this list to either circle, disc (default), or square

figs/n.gif figs/i.gif

<meta>

Provide additional information about a document

*

charset=name

Specify the character set to be used with this document

figs/i.gif

content=string

Specify the value for the meta-information (required)

 

dir=dir

Specify the rendering direction for text — either left to right (ltr) or right to left (rtl)

 

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

 

lang=language

Specify the language used for this tag's contents using a standard two-character ISO language name

 

name=string

Specify the name of the meta-information

 

scheme=scheme

Specify the profile scheme used to interpret this property

 

<multicol> ... </multicol>

Define a multicolumn text flow

figs/n.gif *

class=name

Specify a style class controlling the appearance of this tag

figs/n.gif

cols=n

Specify the number of columns

figs/n.gif

gutter=n

Define the spacing, in pixels, between columns

figs/n.gif

style=style

Specify an inline style for this tag

figs/n.gif

width=n

Define the width of the entire column group

figs/n.gif

<nextid>

Define the next valid document entity identifier (obsolete; do not use)

*

n=n

Set the next ID number

 

<nobr> ... </nobr>

No breaks allowed in the enclosed text

figs/n.gif figs/i.gif *

<noembed> ... </noembed>

Define content to be presented by browsers that do not support the <embed> tag

figs/n.gif figs/i.gif *

<noframes> ... </noframes>

Define content to be presented by browsers that do not support frames

 

<noscript> ... </noscript>

Define content to be presented by browsers that do not support the <script> tag

 

<object>

Insert an object into a document

 

align=position

Align the object with the surrounding text (texttop, middle, textmiddle, baseline, textbottom, or center) or against the margin with subsequent text flowing around the object (left or right)

 

archive=list

Specify a list of URLs of archives containing resources used by this object

 

border=n

Define, in pixels, the object's border width

 

classid=url

Supply the URL of the object

 

codebase=url

Supply the URL of the object's code base

 

codetype=type

Specify the MIME type of the code base

 

data=url

Supply data for the object

 

declare

Declare this object without instantiating it

 

height=n

Define, in pixels, the height of the object

 

hspace=n

Provide extra space, in pixels, to the right and left of the object

 

name=name

Define the name of this object

 

notab

Do not make this object part of the tabbing order

figs/i.gif

shapes

Specify that this object has shaped hyperlinks

figs/i.gif

standby=string

Define a message to display while the object loads

 

tabindex=n

Specify this object's position in the document tab order

 

type=type

Specify the MIME type for the object data

 

usemap=url

Define an image map for use with this object

 

vspace=n

Provide extra space, in pixels, above and below the object

 

width=n

Define, in pixels, the width of the object

 

<ol> ... </ol>

Define an ordered list containing numbered (ascending) <li> elements

 

compact

Present the list in a more compact manner

 

start=n

Start numbering the list at n, instead of 1

 

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 (Arabic numerals; default)

 

<optgroup> ... </optgroup>

Define a group of options within a <select> element

 

disabled

Disable this group, making it inactive

 

label=string

Provide a label for this group

 

<option> ... </option>

Define an option within a <select> item in a <form>

 

disabled

Disable this option, making it inactive

 

label=string

Provide a label for this option

 

selected

Make this item initially selected

 

value=string

Return the specified value to the forms-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

 

<param> ... </param>

Supply a parameter to a containing <applet>

*

id=name

Define the unique identifier for this parameter

 

name=name

Define the name of the parameter

 

type=type

Specify the MIME type of the parameter

 

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)

 

<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

 

<q> ... </q>

The enclosed text is an inline quotation

 

cite=url

Specify the URL of the source of the quoted material

 

<s> ... </s>

Same as <strike>; the enclosed text is struck through with a horizontal line

 

<samp> ... </samp>

The enclosed text is a sample

 

<script> ... </script>

Define a script within a document

*

charset=encoding

Specify the character set used to encode the script

 

defer

Defer execution of this script

 

language=encoding

Specify the language used to create the script

 

src=url

Provide the URL of the document containing the script

 

type=encoding

Specify the MIME type of the script

 

<select> ... </select>

Define a multiple-choice menu or scrolling list within a <form>, containing one or more <option> tags

 

disabled

Disable this control, making it inactive

 

multiple

Allow the 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 forms-processing application (required)

 

onblur=applet

Specify an applet to be run when the mouse leaves this element

 

onchange=applet

Specify an applet to be run when the user changes the value of this element

 

onfocus=applet

Specify an applet to be run when the mouse enters this element

 

size=n

Display n items using a pull-down menu for size=1 (without multiple specified) and a scrolling list of n items otherwise

 

tabindex=n

Specify this element's position in the tabbing order

 

<server> ... </server>

Define a LiveWire script

figs/n.gif *

<small> ... </small>

Format the enclosed text using a smaller typeface

 

<spacer>

Create blank space in a document

figs/n.gif *

align=position

Align a block spacer with either the surrounding text (top, texttop, middle, absmiddle, baseline, bottom, or absbottom) or against a margin with subsequent text flowing around the spacer (left or right)

figs/n.gif

height=n

Define the height, in pixels, of a block spacer

figs/n.gif

size=n

Define the length, in pixels, of a horizontal or vertical spacer

figs/n.gif

type=type

Set the spacer type to block, horizontal, or vertical

figs/n.gif

width=value

Define the width, in pixels, of a block spacer

figs/n.gif

<span> ... </span>

Define a span of text for style application

 

<strike> ... </strike>

Strike through the enclosed text with a horizontal line

 

<strong> ... </strong>

Strongly emphasize the enclosed text

 

<style> ... </style>

Define one or more document-level styles

*

dir=dir

Specify the rendering direction for the title text — either left to right (ltr) or right to left (rtl)

 

lang=language

Specify the language used for this tag's title using a standard two-character ISO language name

 

media=list

Specify a list of media types upon which this object can be rendered

 

title=string

Specify a title for this tag

 

type=type

Define the format of the styles (always text/css)

 

<sub> ... </sub>

Format the enclosed text as subscript

 

<sup> ... </sup>

Format the enclosed text as superscript

 

<table> ... </table>

Define a table

 

align=position

Align the table in the center and flow the subsequent text around the table

 

background=url

Define a background image for the table

figs/n.gif figs/i.gif

bgcolor=color

Define the background color for the entire table

 

border=n

Create a border n pixels wide

 

bordercolor=color

Define the border color for the entire table

figs/n.gif figs/i.gif

bordercolordark=color

Define the dark border-highlighting color for the entire table

figs/n.gif

bordercolorlight=color

Define the light border-highlighting color for the entire table

figs/n.gif

cellpadding=n

Place n pixels of padding around each cell's contents

 

cellspacing=n

Place n pixels of spacing between cells

 

cols=n

Specify the number of columns in this table

figs/n.gif figs/i.gif

frame=type

Define where table borders are displayed — either border (default), void, above, below, hsides, lhs, rhs, vsides, or box

 

height=n

Define the height of the table in pixels

figs/n.gif figs/i.gif

hspace=n

Specify the horizontal space, in pixels, added at the left and right of the table

figs/n.gif

nowrap

Suppress text wrapping in table cells

figs/i.gif

rules=edges

Determine where inner dividers are drawn — either all (default), groups (only around row and column groups), rows, cols, or none

 

summary=string

Provide a summary description of this table

 

valign=position

Align text in the table to either the top, center, bottom, or baseline

figs/i.gif

vspace=n

Specify the vertical space, in pixels, added at the top and bottom of the table

figs/n.gif

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

 

align=position

Align the table body cells' contents to the left, center, or right

 

char=char

Specify the body group cell alignment character

 

charoff=value

Specify the offset within the cells of the alignment position

 

valign=position

Vertically align the body group cells' contents to the top, center, bottom, or baseline of the cell

 

<td> ... </td>

Define a table data cell

 

abbr=string

Specify an abbreviation for the cell's contents

 

align=position

Align the cell contents to the left, center, or right

 

axis=string

Provide a name for a related group of cells

 

background=url

Define a background image for this cell

figs/n.gif figs/i.gif

bgcolor=color

Define the background color for the cell

 

bordercolor=color

Define the border color for the cell

figs/i.gif

bordercolordark=color

Define the dark border-highlighting color for the cell

figs/i.gif

bordercolorlight=color

Define the light border-highlighting color for the cell

figs/i.gif

char=char

Specify the cell alignment character

 

charoff=value

Specify the offset of the alignment position within the cell

 

colspan=n

Have this cell straddle n adjacent columns

 

headers=list

Provide a list of header cell names associated with this cell

 

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

 

scope=scope

Define the scope of this header cell — either row, col, rowgroup, or colgroup

 

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>; the content of the <textarea> tag is the initial, default value

 

accesskey=char

Define the hot-key character for this element

 

cols=n

Display n columns (characters) of text within the text area

 

disabled

Disable this control, making it inactive

 

name=string

Define the name for the text-area value that is passed to the forms-processing application (required)

 

onblur=applet

Specify an applet to be run when the mouse leaves this element

 

onchange=applet

Specify an applet to be run when the user changes the value of this element

 

onfocus=applet

Specify an applet to be run when the mouse enters this element

 

onselect=applet

Specify an applet to be run if the user clicks this element

 

readonly

Prevent user modification of this element

 

rows=n

Display n rows of text within the text area

 

tabindex=n

Specify this element's position in the tabbing order

 

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)

figs/n.gif

<tfoot> ... </tfoot>

Define a table footer

 

align=position

Align the footer cells' contents to the left, center, or right

 

char=char

Specify the cell alignment character

 

charoff=value

Specify the offset within the cell of the alignment position

 

valign=position

Vertically align the footer cells' contents to the top, center, bottom, or baseline of the cell

 

<th> ... </th>

Define a table header cell

 

abbr=string

Specify an abbreviation for the cell's contents

 

align=position

Align the cell contents to the left, center, or right

 

axis=string

Provide a name for a related group of cells

 

background=url

Define a background image for this cell

figs/n.gif figs/i.gif

bgcolor=color

Define the background color for the cell

 

bordercolor=color

Define the border color for the cell

figs/i.gif

bordercolordark=color

Define the dark border-highlighting color for the cell

figs/i.gif

bordercolorlight=color

Define the light border-highlighting color for the cell

figs/i.gif

char=char

Specify the cell alignment character

 

charoff=value

Specify the offset of the alignment position within the cell

 

colspan=n

Have this cell straddle n adjacent columns

 

headers=list

Provide a list of header cell names associated with this cell

 

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

 

scope=scope

Define the scope of this header cell — either row, col, rowgroup, or colgroup

 

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

 

align=position

Define the horizontal text alignment in the heading — either left, center, right, or justify

 

char=char

Specify the cell alignment character for heading cells

 

charoff=value

Specify the offset within the cells of the alignment position

 

valign=position

Define the vertical text alignment in the heading — either left, center, right, or justify

 

<title> ... </title>

Define the HTML document's title

*

dir=dir

Specify the rendering direction for text — either left to right (ltr) or right to left (rtl)

 

lang=language

Specify the language used for this tag's contents using a standard two-character ISO language name

 

<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

 

background=url

Define a background image for this cell

figs/n.gif

bgcolor=color

Define the background color for this row

figs/n.gif figs/i.gif

bordercolor=color

For Internet Explorer, define the border color for this row

figs/i.gif

bordercolordark=color

For Internet Explorer, define the dark border-highlighting color for this row

figs/i.gif

bordercolorlight=color

For Internet Explorer, define the light border-highlighting color for this row

figs/i.gif

char=char

Specify the cell alignment character for this row

 

charoff=value

Specify the offset of the alignment position within the cells of this row

 

nowrap

Disable word wrap for all cells in this row

figs/n.gif figs/i.gif

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

 

<u> ... </u>

Underline the enclosed text

 

<ul> ... </ul>

Define an unordered list of bulleted <li> elements

 

compact

Display the list in a more compact manner, if possible

 

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

 

<wbr>

Indicate a potential word break point within a <nobr> section

figs/n.gif figs/i.gif *

<xmp> ... </xmp>

Same as <pre width=80> ... </pre> (deprecated; do not use)

 

    Team LiB   Previous Section   Next Section