All Tags

This composite file describes all HTML tags. It is too large for most users and is available on request only.

This table:

Support HTML:2.0, 3.0, 3.2  Netscape:1.1+  MS Explorer:1.0+

alerts you to tags not supported by all browsers. The support page explains the table, and the icons on some attributes, in more detail.


This page was created as part of our HTML curriculum, featuring

This is a joint effort of CDI Corporate Education Services and Gregory Consulting and is Copyright © 1995 - 2001, CDI Corporate Education Services Limited. Please report any errors or omissions to Kate Gregory.


Abbreviation
Support: HTML:3.0 Netscape:No Support MS Explorer:No Support


<ABBREV> text </ABBREV>

The abbreviation tag defines an abbreviation. It is typically displayed just like normal text, but is used by automatic indexers.

CDI Home Page

Acronym
Support: HTML:3.0 Netscape:No Support MS Explorer:No Support


<ACRONYM> text </ACRONYM>

The acronym tag defines an acronym. It is typically displayed just like normal text, but is used by automatic indexers.

CDI Home Page

Address


<ADDRESS> text </ADDRESS>
(HTML 3.0 Only) <ADDRESS NOWRAP> text </ADDRESS>

The address tag defines text that gives an address or other contact information. It is typically displayed in italics, slightly indented, and is used by automatic indexers. The NOWRAP attribute stops the browser from wrapping except where <BR>'s are.

CDI Home Page

Anchor


<A NAME="anchor-name">
<A HREF=
"#anchor-name">link-text</A>
<A HREF="
url">link-text</A>
<A HREF="
url#anchor-name">link-text </A>


The anchor tag defines either a link or an anchor in a document. The anchor tag must contain either a NAME attribute or an HREF attribute, or both.
There are three optional attributes that are no longer commonly used with anchor, though they are used with LINK:

REF="relationship"
defines the relationship between this document and the HREF URL.

REV="relationship"
defines the relationship between the HREF URL and this document. (REV stands for reverse, because it is the reverse of the REF attribute.)

TITLE="document-name"
No longer commonly used, indicates the TITLE of the document pointed to by the HREF URL.
(Netscape Extension) (Microsoft Extension 3.0) TARGET="target window name"
Will load the document pointed to by HREF into the window specified by "target window name".



(HTML 3.0 Only) Anchors with a SHAPE attribute may appear inside FIG tags. These anchors are described with the FIG tag.

(HTML 3.0 Only) An anchor name can also be defined with the ID attribute in many other markup tags. For example, the source:

<P ID=jumppoint>This is a paragraph with a jump point defined in it.

defines an anchor called jumppoint at the start of the paragraph. Almost every element, including lists, list items, images, and headers, can have an ID attribute.

(Netscape Extension) (Microsoft Extension 3.0) The following are the predefined target names:

_blank
Will cause the link to be loaded into a new blank window.
_self
Will cause the link to be loaded into the same window the link was in.
_parent
Will cause the link to be loaded into the parent of this document.
_top
Will cause the link to be loaded into the full body of this window.

CDI Home Page

Area
Support: HTML:3.2 Netscape:2.0+ MS Explorer:2.0+


<AREA SHAPE="shape" ALT="text" CO-ORDS="co-ords" HREF="URL">

<AREA SHAPE="shape" ALT="text" CO-ORDS="co-ords" HREF="URL" TARGET="target window name>

<AREA SHAPE="shape" ALT="text" CO-ORDS="co-ords" NOHREF>

The area tag, valid only within a MAP, defines areas that act as hotspots within an image. Typically a map will have multiple AREA tags; if the user clicks at a location that is inside two or more defined areas the one that appears first within the MAP entry is used.

The NOHREF attribute means that clicks here will not cause a link to be followed.

The SHAPE attribute can be one of RECT, CIRCLE, POLY or DEFAULT. CO-ORDS gives the co-ordinates, in pixels, measured from the upper left corner of the image, of the defining points for the shape. For RECT these are left, top, right, bottom. For CIRCLE they are Xcentre, Ycentre, radius. For POLY they are x1, y1, x2, y2, ... xn, yn. The DEFAULT area, maps all areas not already specified in another AREA tag and no co-ordinates are required.

(Netscape Extension) (Microsoft Extension 3.0) If Target is specified then the document pointed to by HREF will be loaded into the window specified by "target window name". The following are the predefined target names:

_blank
Will cause the link to be loaded into a new blank window.
_self
Will cause the link to be loaded into the same window the link was in.
_parent
Will cause the link to be loaded into the parent of this document.
_top
Will cause the link to be loaded into the full body of this window.

CDI Home Page

Author
Support: HTML:3.0 Netscape:No Support MS Explorer:No Support


<AUTHOR> text </AUTHOR>
<AU>
text </AU>

The author tag defines text that names the author of a document. It is typically displayed just like normal text, but is used by automatic indexers.

CDI Home Page

Background Sound
Support: HTML:No Support Netscape:No Support MS Explorer:2.0+


<BGSOUND SRC="URL">

<BGSOUND SRC="URL"LOOP=n>

The background sound tag identifies a .wav, .au, or.mid resource that will be played when the page is opened. The optional LOOP attribute will cause the resource to be played n times. LOOP="INFINITE" will cause the resource to be played continuously as long as the page is open.

CDI Home Page

Banner
Support: HTML:3.0 Netscape:No Support MS Explorer:No Support


<BANNER attributes </BANNER>

The banner element defines an image or block of text that does not scroll with the document and is displayed at the top of the screen as the user scrolls through the document. Details of the attributes are not yet available -- use a BANNER attribute in the LINK section of the HEAD.

CDI Home Page

Base


<BASE HREF="base address">
(Netscape Extension) (Microsoft Extension 3.0) <BASE TARGET="default target">

The base tag, which is valid only in the HEAD section, defines the base address of an HTML document, which is used to determine the full address of relative URL's that appear in the document. The typical use for this is to move an HTML document to another site without moving all the images and related documents with it: the base URL can be set to the directory where those images and documents remain. The "default target" will become the target for all links unless specified explicitly. The following are the predefined target names:

_blank
Will cause the link to be loaded into a new blank window.
_self
Will cause the link to be loaded into the same window the link was in.
_parent
Will cause the link to be loaded into the parent of this document.
_top
Will cause the link to be loaded into the full body of this window.

CDI Home Page

Base Font
Support: HTML:No Support Netscape:1.1+ MS Explorer:2.0+


<BASEFONT SIZE=number>

The base font tag defines the base that relative FONT changes are based on. (Default is 3.)

CDI Home Page

Big Text
Support: HTML:3.2 Netscape:2.0+ MS Explorer:3.0+


<BIG> text </BIG>

The big text tag defines text that should be displayed in a larger font than usual.

CDI Home Page

Blink
Support: HTML:No Support Netscape:1.1+ MS Explorer:No Support


<BLINK> text </BLINK>

The blink tag highlights the text by having it blink on and off.

CDI Home Page

Block Quote


<BLOCKQUOTE> text </BLOCKQUOTE>
(HTML 3.0 Only) <BQ> text </BQ>
(HTML 3.0 Only) <BQ CLEAR = attributes> text </BQ>
(HTML 3.0 Only) <BQ NOWRAP> text </BQ>

The block quote tag defines text that is quoted from elsewhere. Many browsers (including Netscape) display it in an indented block surrounded by blank lines. Other suggestions from the HTML 2.0 spec include displaying the text in italics or starting each line with the Usenet standard quote indicator, >. In HTML 3.0, the CLEAR attribute is used to position a quote after a graphic: it can be LEFT, RIGHT, or ALL and specifies which margin should be clear. The NOWRAP attribute stops the browser from wrapping except at a BR tag.

CDI Home Page

Body


<BODY> document-body </BODY>
(HTML 3.2 Only) <BODY BACKGROUND="URL"> document-body </BODY>
(HTML 3.2 Only) <BODY BGCOLOR="#rrggbb"> document-body </BODY>
(HTML 3.2 Only) <BODY BGCOLOR="colorname"> document-body </BODY>
(HTML 3.2 Only) <BODY TEXT="#rrggbb"> document-body </BODY>
(HTML 3.2 Only) <BODY TEXT="colorname"> document-body </BODY>
(HTML 3.2 Only) <BODY LINK="#rrggbb"> document-body </BODY>
(HTML 3.2 Only) <BODY LINK="colorname"> document-body </BODY>
(HTML 3.2 Only) <BODY ALINK="#rrggbb"> document-body </BODY>
(HTML 3.2 Only) <BODY ALINK="colorname"> document-body </BODY>
(HTML 3.2 Only) <BODY VLINK="#rrggbb"> document-body </BODY>
(HTML 3.2 Only) <BODY VLINK="colorname"> document-body </BODY>
(Microsoft Extension) <BODY LEFTMARGIN=
margin> document-body </BODY>
(Microsoft Extension) <BODY TOPMARGIN=
margin> document-body </BODY>
(Microsoft Extension) <BODY BGPROPERTieS="FIXED">
document-body</BODY>

The body tag introduces the body of the document. It should appear after the head section and occupy the remainder of the document.

(HTML 3.2 Only) The BACKGROUND attribute specifies an image file to use as the background for the page.

(HTML 3.2 Only) The BGCOLOR, TEXT, LINK, ALINK, and VLINK attributes specify the colours to be used for the background, text, links, active links, and visited links respectively. (An link is active for the moment the user clicks on it, and changes colour to confirm it has been clicked.) rrggbb is a six digit hexadecimal number with the first two digits specifying the red value, the middle two the green value, and the last two the blue value. Some sample colour values:

red
FF0000
green
00FF00
blue
0000FF
black
000000
white
FFFFFF
grey
888888
yellow
FFFF00
cyan
00FFFF



(HTML 3.2 Only) Colour names can be used wherever colours can be used: in the BGCOLOR, TEXT, LINK, ALINK,and VLINK attributes. Valid colours are: Aqua, Black, Blue, Fuchsia, Gray, Green, Lime, Maroon, Navy, Olive, Purple, Red, Silver, Teal,Yellow, and White.

(Microsoft Extension) The LEFTMARGIN and TOPMARGIN attributes set the margin at the left and top of the document, in pixels.

(Microsoft Extension) The BGPROPERTieS attribute causes the background image (set with the BACKGROUND attribute) to remain fixed as the document scrolls: a watermark effect.

CDI Home Page

Bold


<B> text </B>

The bold tag defines text that should be shown in boldface. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag.

CDI Home Page

Caption
Support: HTML:3.2 Netscape:2.0+ MS Explorer:3.0+


<CAPTION> text </CAPTION>
(Netscape Extension)
(HTML 3.2 Only) <CAPTION ALIGN=alignment> text </CAPTION>
(Microsoft Extension) <CAPTION ALIGN=
alignment> text </CAPTION>
(Microsoft Extension) <CAPTION VALIGN=
vertical-alignment> text </CAPTION>

The caption tag defines the caption of a figure or table. It is valid only within FIG or TABLE tags.

(Netscape Extension) (HTML 3.2 Only) The ALIGN attribute arranges for the caption to be at the TOP or BOTTOM of the table or figure.

(Microsoft Extension) The ALIGN attribute sets the alignment of the caption within the table or figure border. It can be LEFT, RIGHT, or CENTER.

(Microsoft Extension) The VALIGN attribute arranges for the caption to be at the TOP or BOTTOM of the table or figure.

CDI Home Page

Center
Support: HTML:3.2 Netscape:1.1+ MS Explorer:2.0+


<CENTER> text</CENTER>

The center tag defines text that should be centered.

CDI Home Page

Citation


<CITE> text </CITE>

The citation tag defines text that cites a book or other work -- most browsers will display it in italics. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag.

CDI Home Page

Code


<CODE> text </CODE>

The code tag defines text that should be shown in a fixed width font. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag. Many browsers use the same font for the KBD, SAMP, TT and CODE tags. For many lines of fixed width text, with the line breaks and other whitespace specified by the page author, use the PRE tag.

CDI Home Page

Comment


<!-- comment text -->

The comment tag includes the actual comment text. Any instance of --> ends the comment. Whitespace may be included between the -- and the > but not between the <! and the first --.

CDI Home Page

Credit
Support: HTML:3.0 Netscape:No Support MS Explorer:No Support


<CREDIT> text </CREDIT>

The credit tag defines text that credits a figure or quote. It is valid only within FIG or BQ tags.

CDI Home Page

Definition
Support: HTML:3.2 Netscape:No Support MS Explorer:2.0+


<DFN> text </DFN>

The definition tag defines text that defines a term -- many browsers will display it in italics, though others will ignore it. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag.

CDI Home Page

Definition List


<DL> list entries </DL>
<DL COMPACT>
list entries </DL>
<DT>
term
<DD> definition

The definition list tag introduces a definition list or glossary, which is made up of term (DT) and definition (DD) items. The </DT> and </DD> tags are optional. Typically the definitions are indented under each term, with no blank lines around them. If COMPACT was specified (and the terms are short) the terms and definitions are on the same line. Do not use multiple DD elements for the same DT -- instead use BR within the DD.

(HTML 3.0 Only) A list heading (LH) may be included before the first definition term.

CDI Home Page

Deleted Text
Support: HTML:3.0 Netscape:No Support MS Explorer:No Support


<DEL> list entries </DEL>

The deleted text tag marks text that has been deleted, for example in a group authoring situation or a legal document.

CDI Home Page

Directory List


<DIR> list entries </DIR>
(HTML 3.2 Only) <DIR COMPACT> list entries </DIR>

The directory list tag introduces a directory list, which is made up of List Item (LI) tags and does not include bullets or numbers before them. The items should be short so that they can be arranged into columns. For a bulleted list use UL. For a numbered list use OL. For a list without bullets or numbers that is not arranged into columns use MENU. The COMPACT attribute instructs the browser to reduce the space occupied by the list.

In HTML 3.0, the same effect can be achieved with <UL PLAIN WRAP=HORIZ>. The DIR tag will probably be obsolete some day, so use UL.

CDI Home Page

Division
Support: HTML:3.2 Netscape:2.0+ MS Explorer:No Support


<DIV ALIGN=align>
(HTML 3.0 Only) <DIV CLASS=class>
(HTML 3.0 Only) <DIV CLASS=class NOWRAP>

The division tag is used to divide a document up into different sections, such as chapters, sections, abstract, and appendix. The CLASS attribute specifies what section this is. The ALIGN attribute can be one of LEFT, RIGHT, or CENTER. The NOWRAP attribute stops the browser from wrapping except where <BR>'s are included in the document.

CDI Home Page

Embed
Support: HTML:No Support Netscape:2.0+ MS Explorer:No Support


<EMBED attributes> alternate HTML </EMBED>

The embed element is used to embed a plugin into a document. The OBJECT tag can also be used to embed objects. The attributes of EMBED are:

SRC="URL"
"URL" identifies the location of the object to be embedded.

 
HEIGHT=number
This specifies the height of the object, according to the UNITS attribute.

WIDTH=number
This specifies the width of the object, according to the UNITS attribute.

UNITS=units
Here units is one of pixels, meaning the width and height are measured in pixels, or en, meaning the width and height are measured in en spaces.

CDI Home Page

Emphasized


<EM> text </EM>

The emphasized tag defines text that should be emphasized -- most browsers will display it in italics. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag.

CDI Home Page

Escape Sequences


&lt
&gt
&amp
&quot
(HTML 3.2 Only) &nbsp
(HTML 3.2 Only) &reg
(HTML 3.2 Only) &copy
(HTML 3.0 Only) &ensp
(HTML 3.0 Only) &emsp
(HTML 3.0 Only) &endash
(HTML 3.0 Only) &emdash

These escape sequences are used to enter characters such as <, >, &, and " into HTML documents. The mnemonics of the original four sequences from HTML 2.0 stand for Less Than, Greater Than, AMPersand, and double QUOTe. HTML 3.2 adds NonBreaking SPace, REGistered trademark and COPYright. HTML 3.0 adds EN SPace, EM SPace, EN DASH, and EM DASH. There are a number of escape sequences available for accented characters; a full list is provided by the World Wide Web Consortium (W3C.) Use a space or semi-colon(;) after the mnemonic to indicate the end of the escape sequence; using a space will insert a space between the special character and the next part of the text, while using a semi-colon will not.

Example:
&lt;BR> will display as <BR>

CDI Home Page

Example


<XMP> text </XMP>

The example tag introduces example text. Because of the way this tag handles embedded tags, it should no longer be used. PRE or SAMP are better choices.

CDI Home Page

Figure
Support: HTML:3.0 Netscape:No Support MS Explorer:No Support


<FIG attributes> figure-content </FIG>

See the OBJECT and MAP tags for an alternate to this tag.

The figure element is an improvement over the inline image used in HTML 2.0 for a variety of reasons. The text used to describe the figure for non-graphical browsers can contain markup tags, and a separate credit and caption will be displayed by both graphical and non-graphical browsers. It also makes imagemaps much easier to code and independent of the server. At the moment it isn't clear whether the built-in image maps of FIG or the client-side image maps of IMG with a USEMAP attribute will emerge as the long term alternative to server side image maps. The attributes of FIG are:

SRC="URL"
"URL" identifies the image source, typically a GIF or JPEG file.

ALIGN="alignment"
"alignment" should be one of TOP, MIDDLE, or BOTTOM. This causes the top, middle, or bottom of the image to be aligned with the text on the line containing the IMG tag.
(Netscape Extension) "alignment" should be one of LEFT, RIGHT, TOP, TEXTTOP, MIDDLE, ABSMIDDLE, BASELINE, BOTTOM, or ABSBOTTOM.

HEIGHT=number
This specifies the height of the image, according to the UNITS attribute.

WIDTH=number
This specifies the width of the image, according to the UNITS attribute.

UNITS=units
Here units is one of pixels, meaning the width and height are measured in pixels, or en, meaning the width and height are measured in en spaces. These units are not used for the shape co-ordinates of any anchor tags in the figure.

NOFLOW
Stops text from flowing around the figure.

IMAGEMAP="URL"
Points to a script that handles clicks and drags.

The figure-content contains the following optional elements, in this order:

<OVERLAY SRC="url">
<
CAPTION>caption-text</CAPTION>
Figure description text, including markup (headers, lists, etc.) to substitute for the image.
<A SHAPE="shape">link-text</A>
<CREDIT>credit-text</CREDIT>

The SHAPE attribute is one of:

This implements a figure with a built-in imagemap, freeing the browser from asking the server how to respond to a click. If the user clicks within the area defined by the anchor's SHAPE attribute, the link is followed. (If the click is outside all the defined shapes, the link identified as default is followed.) The numerical values provided are interpreted as pixels if they are integers, or as fractions of the screen width if they are not integers, with the origin at the top left corner of the figure. There is an intelligent mechanism for dealing with a click in an area that is in more than one shape anchor. If the browser does not display graphics, the figure description text is displayed, and some of it is highlighted as link text.

CDI Home Page

Font
Support: HTML:3.2 Netscape:1.1+ MS Explorer:2.0+


<FONT SIZE=number>
<FONT COLOR="#RRGGBB">
<FONT COLOR="colorname">
(Microsoft Extension) <FONT FACE="facename">

The font tag defines text with a smaller or larger font than usual. The normal font size corresponds to 3; smaller values of number will produce a smaller font, and larger values of number will produce a larger font. If number has a sign (for example +1), the font will be changed relative to the BASEFONT.

The COLOR attribute allows you to change the colour of the text. rrggbb is a six digit hexadecimal number with the first two digits specifying the red value, the middle two the green value, and the last two the blue value. Some sample colour values:

red
FF0000
green
00FF00
blue
0000FF
black
000000
white
FFFFFF
grey
888888
yellow
FFFF00
cyan
00FFFF



Colour names can also be used in the COLOR attribute. Valid colours are: Aqua, Black, Blue, Fuchsia, Gray, Green, Lime, Maroon, Navy, Olive, Purple, Red, Silver, Teal,Yellow, and White.

(Microsoft Extension)The FACE attribute specifies the face to be used, such as Arial or Courier. If multiple names are specified, the first one listed that is installed on the client machine is used.

CDI Home Page

Footnote
Support: HTML:3.0 Netscape:No Support MS Explorer:No Support


<FN ID=anchor-name> text </FN>

The footnote tag defines a footnote, ideally displayed in a pop-up window. The text that refers to this footnote does so with a standard anchor tag using anchor-name.

CDI Home Page

Form


<FORM ACTION=action base> form tags </FORM>
<FORM METHOD=
method> form tags </FORM>
<FORM ENCTYPE=
media type> form tags </FORM>
(Netscape Extension) (Microsoft Extension 3.0) <FORM ACTION=action base TARGET="target window name"> form tags </FORM>
(HTML 3.0 Only)<FORM SCRIPT=
URL> form tags </FORM>

The form tag introduces a form, which is made up of INPUT elements, described in the sections that follow. A form may be inside structural HTML tags and may also contain structural tags. Using tables and other elements a form can take on various shapes and looks.

The ACTION attribute defaults to the document's base address.

The METHOD attribute can be GET or POST. GET specifies a query form, used to get data from a server. POST specifies a form that gives information to the server and perhaps causes a database to be updated or a message to be sent.

The SCRIPT attribute points to a script to be run. The browser must be able to run the type of script that is specified.

The default media type is 'application/x-www-form-urlencoded', which specifies how the browser puts the user responses on the form together to form a response URL that is then submitted to the server. For more on the CGI compliant scripts that process the form, check the CGI documentation.

(Netscape Extension) (Microsoft Extension 3.0) If Target is specified then the output document will be loaded into the window specified by "target window name". The following are the predefined target names:

_blank
Will cause the link to be loaded into a new blank window.
_self
Will cause the link to be loaded into the same window the link was in.
_parent
Will cause the link to be loaded into the parent of this document.
_top
Will cause the link to be loaded into the full body of this window.

CDI Home Page

Form Input Check Box


<INPUT TYPE=CHECKBOX NAME=name VALUE=value>
<INPUT TYPE=CHECKBOX NAME=
name VALUE=value CHECKED>

The checkbox type input tag specifies a boolean choice within the form that contains it. If more than one checkbox appears in the form with the same name the user can select none, one or several of the choices. The NAME attribute is a required field and is used to identify the data for the field. The VALUE attribute specifies the value that is returned if the box is checked. If the CHECKED attribute is specified, the box is initially selected.

(HTML 3.0 Only)The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. The DISABLED attribute shows the field but will not allow the user to modify it. The ERROR attribute is used to supply an error message for the field. The ALIGN attribute is used to position the field and can be one of TOP, BOTTOM, MIDDLE, LEFT or RIGHT.

CDI Home Page

Form Input File
Support: HTML:3.2 Netscape:No Support MS Explorer:No Support


<INPUT TYPE=FILE NAME=name ACCEPT=mime type list>

The file type input tag allows the user to attach one or more files to the form for submission. The NAME attribute is a required field and is used to identify the data for the field. The ACCEPT attribute is a list of mime types that will be accepted. (e.g. "image/*" or "image/gif, image/jpeg").

(HTML 3.0 Only)The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. The DISABLED attribute shows the field but will not allow the user to modify it. The ERROR attribute is used to supply an error message for the field. The ALIGN attribute is used to position the field and can be one of TOP, BOTTOM, MIDDLE, LEFT or RIGHT.

CDI Home Page

Form Input Hidden


<INPUT TYPE=HIDDEN NAME=name VALUE=value>

The hidden type input tag specifies a hard coded name-value pair within the form. This field is not displayed to the user. Both NAME and VALUE are required attributes.

(HTML 3.0 Only)The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. The DISABLED attribute shows the field but will not allow the user to modify it. The ERROR attribute is used to supply an error message for the field. The ALIGN attribute is used to position the field and can be one of TOP, BOTTOM, MIDDLE, LEFT or RIGHT.

CDI Home Page

Form Input Image


<INPUT TYPE=IMAGE NAME=name SRC="URL">
(HTML 3.2 Only) <INPUT TYPE=IMAGE NAME=name SRC="URL" ALIGN="alignment">

The image type input tag specifies an image to be presented to the user. As soon as the user clicks on the image, the form is submitted with the selected x y coordinates of the spot on the image and the data for the other form fields. The NAME attribute is a required field and is used to identify the data for the field. The SRC and ALIGN attributes are the same as in the Inline Image tag.

(HTML 3.2 Only) The ALIGN attribute is used for image alignment and can be one of TOP, BOTTOM, MIDDLE, LEFT or RIGHT.

(HTML 3.0 Only)The 3.0 specification added two new attributes: DISABLED, and ERROR. The DISABLED attribute shows the field but will not allow the user to modify it. The ERROR attribute is used to supply an error message for the field.

CDI Home Page

Form Input Password


<INPUT TYPE=PASSWORD NAME=name>
<INPUT TYPE=PASSWORD NAME=
name MAXLENGTH=length>
<INPUT TYPE=PASSWORD NAME=
name SIZE=size>
<INPUT TYPE=PASSWORD NAME=
name VALUE=value>

The password type input tag specifies a single line text entry field within the form that contains it. The value entered by the user will be obscured as it is entered. The NAME attribute is a required field and is used to identify the data for the field. The MAXLENGTH attribute specifies the number of characters that can be entered into this field. If MAXLENGTH is not specified then there is no limit on the number of characters entered. If MAXLENGTH is longer than SIZE then the text field will scroll appropriately. The SIZE attribute specifies the amount of display space this field should take up. The default for SIZE will vary by browser. The VALUE attribute specifies the initial value of the field.

(HTML 3.0 Only)The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. The DISABLED attribute shows the field but will not allow the user to modify it. The ERROR attribute is used to supply an error message for the field. The ALIGN attribute is used to position the field and can be one of TOP, BOTTOM, MIDDLE, LEFT or RIGHT..

CDI Home Page

Form Input Radio Button


<INPUT TYPE=RADIO NAME=name VALUE=value>
<INPUT TYPE=RADIO NAME=
name VALUE=value CHECKED>

The radio button type input tag allows a choice among a number of options. Normally more than one radio button will appear in the form with the same name. The user can then select only one of the of the choices. The NAME attribute is a required field and is used to identify the data for the field. If one of the choices has the CHECKED attribute it will initially be selected. If none of the choices has the CHECKED attribute then the first one defaults as initially selected. The VALUE attribute specifies the value that is returned if the box is checked.

(HTML 3.0 Only)The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. The DISABLED attribute shows the field but will not allow the user to modify it. The ERROR attribute is used to supply an error message for the field. The ALIGN attribute is used to position the field and can be one of TOP, BOTTOM, MIDDLE, LEFT or RIGHT.

CDI Home Page

Form Input Range
Support: HTML:3.0 Netscape:No Support MS Explorer:No Support


<INPUT TYPE=RANGE NAME=name MIN=min MAX=max>
<INPUT TYPE=RANGE NAME=
name MIN=min> MAX=max VALUE=value>

The range type input tag allows the user to enter an number restricted to a set range. The NAME attribute is a required field and is used to identify the data for the field. The MIN and MAX attributes specify the minimum and maximum values that can be entered. If either MIN or MAX is a real number then the user can enter real numbers, otherwise only integers can be entered. The VALUE attribute specifies an initial value and should be in the range specified.

(HTML 3.0 Only)The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. The DISABLED attribute shows the field but will not allow the user to modify it. The ERROR attribute is used to supply an error message for the field. The ALIGN attribute is used to position the field and can be one of TOP, BOTTOM, MIDDLE, LEFT or RIGHT.

CDI Home Page

Form Input Reset


<INPUT TYPE=RESET>

The reset type input tag specifies a button. When the user clicks the button, all the fields in the form are reset to their initial values.

(HTML 3.0 Only)The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. The DISABLED attribute shows the field but will not allow the user to modify it. The ERROR attribute is used to supply an error message for the field. The ALIGN attribute is used to position the field and can be one of TOP, BOTTOM, MIDDLE, LEFT or RIGHT.

CDI Home Page

Form Input Scribble
Support: HTML:3.0 Netscape:No Support MS Explorer:No Support


<INPUT TYPE=SCRIBBLE NAME=name SRC=URL VALUE=text>

The scribble type input tag allows the user draw on a predefined image. The NAME attribute is a required field and is used to identify the data for the field. The SRC attribute specifies the URL of the image. The VALUE attribute specifies a text string that is used as an alternate if images or scribbling are not supported by the browser.

(HTML 3.0 Only)The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. The DISABLED attribute shows the field but will not allow the user to modify it. The ERROR attribute is used to supply an error message for the field. The ALIGN attribute is used to position the field and can be one of TOP, BOTTOM, MIDDLE, LEFT or RIGHT.

CDI Home Page

Form Input Submit


<INPUT TYPE=SUBMIT>
<INPUT TYPE=SUBMIT NAME=
name>
<INPUT TYPE=SUBMIT VALUE=
value>

The submit type input tag specifies a button. When the user clicks the button, the form is submitted. The NAME attribute is used to identify the data for the field. If no NAME attribute is given then this element does not form part of the submitted response. The VALUE attribute specifies the label for the button.

(HTML 3.0 Only)The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. The DISABLED attribute shows the field but will not allow the user to modify it. The ERROR attribute is used to supply an error message for the field. The ALIGN attribute is used to position the field and can be one of TOP, BOTTOM, MIDDLE, LEFT or RIGHT.

CDI Home Page

Form Input Text


<INPUT TYPE=TEXT NAME=name>
<INPUT TYPE=TEXT NAME=
name MAXLENGTH=length>
<INPUT TYPE=TEXT NAME=
name SIZE=size>
<INPUT TYPE=TEXT NAME=
name VALUE=value>

The text type input tag specifies a single line text entry field within the form that contains it. The NAME attribute is a required field and is used to identify the data for the field. The MAXLENGTH attribute specifies the number of characters that can be entered into this field. If MAXLENGTH is not specified then there is no limit on the number of characters entered. If MAXLENGTH is longer than SIZE then the text field will scroll appropriately. The SIZE attribute specifies the amount of display space this field should take up. The default for SIZE will vary by browser. The VALUE attribute specifies the initial value of the field.

(HTML 3.0 Only)The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. The DISABLED attribute shows the field but will not allow the user to modify it. The ERROR attribute is used to supply an error message for the field. The ALIGN attribute is used to position the field and can be one of TOP, BOTTOM, MIDDLE, LEFT or RIGHT.

CDI Home Page

Form Select


<SELECT NAME=name> option entries </SELECT>
<SELECT NAME=
name MULTIPLE> option entries </SELECT>
<SELECT NAME=
name SIZE=size> option entries </SELECT>
(HTML 3.0 Only)<SELECT NAME=
name SRC=URL WIDTH=width HEIGHT=height UNITS=units> option entries </SELECT>
<OPTION>
content
<OPTION SELECTED>
content
<OPTION VALUE=
value> content
(HTML 3.0 Only)<OPTION SHAPE=
shape>

The select tag specifies a multiple line selection box field within the form that contains it. The user can select one or more lines if the attribute MULTIPLE is specified. The NAME attribute is a required field and is used to identify the data for the field. The SIZE attribute specifies the number of lines of selections that are to be displayed.
The SELECTED attribute of the option tag specifies that the option is to be initially selected. The VALUE attribute specifies the value to be returned if this option is selected. If the VALUE attribute is not specified the content of the option is used.

(HTML 3.0 Only)The select tag's SRC, WIDTH, HEIGHT, and UNITS attributes and the option tag's SHAPE attribute define an image map. These attributes are the same as the ones described in the Figure tag.

(HTML 3.0 Only)The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. The DISABLED attribute shows the field but will not allow the user to modify it. The ERROR attribute is used to supply an error message for the field. The ALIGN attribute is used to position the field and can be one of TOP, BOTTOM, MIDDLE, LEFT or RIGHT.

CDI Home Page

Form Text Area


<TEXTAREA NAME=name COLS=# columns ROWS=# rows> content </TEXTAREA>

The text area tag specifies a multiple line text area field within the form that contains it. The NAME attribute is a required field and is used to identify the data for the field. The COLS attribute specifies the width in characters of the text area. The ROWS attribute specifies the number of lines the text area contains. The content is used as an initial value for the field. The field can be scrolled beyond the COLS and ROWS size to allow for larger amounts of text to be entered.

(HTML 3.0 Only)The 3.0 specification adds three new attributes: DISABLED, ERROR, and ALIGN. The DISABLED attribute shows the field but will not allow the user to modify it. The ERROR attribute is used to supply an error message for the field. The ALIGN attribute is used to position the field and can be one of TOP, BOTTOM, MIDDLE, LEFT or RIGHT.

CDI Home Page

Frame
Support: HTML:No Support Netscape:2.0+ MS Explorer:3.0+


<FRAME attributes>

The frame tag appears inside the FRAMESET tag and specifies one frame in the frameset. The attributes are:

SRC="URL"
The URL of the source document to be displayed in this frame. If the frame does not specify a source it will be displayed as blank space.
NAME="window name"
Here "window name" is the name associated with this frame. It can be used by the TARGET attribute in the A, BASE, AREA, and FORM tags to target this frame.

MARGINWIDTH=number
Here number is the left and right margin thickness in pixels.

MARGINHEIGHT=number
Here number is the top and bottom margin thickness in pixels.

SCROLLING=type
Here type is one of yes, no or auto. It specifies that the frame is to have a scroll bar, auto indicates the browser should decide. By default auto is set.

NORESIZE
Stops the user from resizing the frame..

(Microsoft Extension 3.0) FRAMEBORDER=yes|no
Specifies if the border should be displayed.

(Microsoft Extension 3.0) FRAMESPACING=number
Here number is the spacing between frames in pixels.

CDI Home Page

Frame Set
Support: HTML:No Support Netscape:2.0+ MS Explorer:3.0+


<FRAMESET attributes> frame tags </FRAMESET>

The FRAMESET tag replaces the BODY tag in a document and is used to split the documents window into a set of smaller frames. FRAMESET tags can be nested to create more complicated frame layouts. NOFRAME tags can also be placed in a frameset. The attributes are:

ROWS="row heights"
Here "row heights" specifies a list of values for the rows, each one can be specified as a percentage, a pixel value or as "*". The frameset will be split vertically into frames based on these values. Rows with "*"'s in them will have any remaining space split between them.
COLS="column widths"
Here "column widths" specifies a list of values for the columns. The width of each column can be specified as a percentage, a pixel value or as "*". The frameset will be split into frames based on these values. Columns with a width of "*" will split the space that is not assigned to other columns.

CDI Home Page

Head


<HEAD> head-section </HEAD>

The head tag introduces text that describes an HTML document. Most documents have only a TITLE tag in the head section.

CDI Home Page

Heading 1


<H1> text </H1>
(HTML 3.2 Only) <H1 ALIGN=alignment > text </H1>
(HTML 3.0 Only) <H1 SRC=
"URL" > text </H1>
(HTML 3.0 Only) <H1 DINGBAT=
"entity-name" > text </H1>
(HTML 3.0 Only) <H1 NOWRAP>
text </H1>
(HTML 3.0 Only) <H1 CLEAR=
clear > text </H1>

The heading 1 tag defines a level 1 heading. It is typically shown in a very large bold font with several blank lines around it, and is used by automatic indexers to describe a page.

The alignment attribute can be LEFT, RIGHT, or CENTER -- it defines the placement of the header on the screen. The SRC attribute identifies a graphic image to be embedded before the header text, while the DINGBAT attribute identifies an iconic entity to be embedded there. The clear attribute is used to position a header after a graphic: it can be LEFT, RIGHT, or ALL and specifies which margin should be clear. The NOWRAP attribute prevents the browser from breaking long header lines; use a BR tag to break those lines yourself.

CDI Home Page

Heading 2


<H2> text </H2>
(HTML 3.2 Only) <H2 ALIGN=alignment > text </H2>
(HTML 3.0 Only) <H2 SRC=
"URL" > text </H2>
(HTML 3.0 Only) <H2 DINGBAT=
"entity-name" > text </H2>
(HTML 3.0 Only) <H2 NOWRAP>
text </H2>
(HTML 3.0 Only) <H2 CLEAR=
clear > text </H2>

The heading 2 tag defines a level 2 heading. It is typically shown in a large bold font with several blank lines around it.

The alignment attribute can be LEFT, RIGHT, or CENTER -- it defines the placement of the header on the screen. The SRC attribute identifies a graphic image to be embedded before the header text, while the DINGBAT attribute identifies an iconic entity to be embedded there. The clear attribute is used to position a header after a graphic: it can be LEFT, RIGHT, or ALL and specifies which margin should be clear. The NOWRAP attribute prevents the browser from breaking long header lines; use a BR tag to break those lines yourself.

CDI Home Page

Heading 3


<H3> text </H3>
(HTML 3.2 Only) <H3 ALIGN=alignment > text </H3>
(HTML 3.0 Only) <H3 SRC=
"URL" > text </H3>
(HTML 3.0 Only) <H3 DINGBAT=
"entity-name" > text </H3>
(HTML 3.0 Only) <H3 NOWRAP>
text </H3>
(HTML 3.0 Only) <H3 CLEAR=
clear > text </H3>

The heading 3 tag defines a level 3 heading. It is typically shown in a large italic font, slightly indented, with blank lines around it.

The alignment attribute can be LEFT, RIGHT, or CENTER -- it defines the placement of the header on the screen. The SRC attribute identifies a graphic image to be embedded before the header text, while the DINGBAT attribute identifies an iconic entity to be embedded there. The clear attribute is used to position a header after a graphic: it can be LEFT, RIGHT, or ALL and specifies which margin should be clear. The NOWRAP attribute prevents the browser from breaking long header lines; use a BR tag to break those lines yourself.

CDI Home Page

Heading 4


<H4> text </H4>
(HTML 3.2 Only) <H4 ALIGN=alignment > text </H4>
(HTML 3.0 Only) <H4 SRC=
"URL" > text </H4>
(HTML 3.0 Only) <H4 DINGBAT=
"entity-name" > text </H4>
(HTML 3.0 Only) <H4 NOWRAP>
text </H4>
(HTML 3.0 Only) <H4 CLEAR=
clear > text </H4>

The heading 4 tag defines a level 4 heading. It is typically shown in a bold font, indented more than an level 3 heading, with blank lines around it.

The alignment attribute can be LEFT, RIGHT, or CENTER -- it defines the placement of the header on the screen. The SRC attribute identifies a graphic image to be embedded before the header text, while the DINGBAT attribute identifies an iconic entity to be embedded there. The clear attribute is used to position a header after a graphic: it can be LEFT, RIGHT, or ALL and specifies which margin should be clear. The NOWRAP attribute prevents the browser from breaking long header lines; use a BR tag to break those lines yourself.

CDI Home Page

Heading 5


<H5> text </H5>
(HTML 3.2 Only) <H5 ALIGN=alignment > text </H5>
(HTML 3.0 Only) <H5 SRC=
"URL" > text </H5>
(HTML 3.0 Only) <H5 DINGBAT=
"entity-name" > text </H5>
(HTML 3.0 Only) <H5 NOWRAP>
text </H5>
(HTML 3.0 Only) <H5 CLEAR=
clear > text </H5>

The heading 5 tag defines a level 5 heading. It is typically shown in an italic font, indented the same as a level 4 heading, with a blank line above it.

The alignment attribute can be LEFT, RIGHT, or CENTER -- it defines the placement of the header on the screen. The SRC attribute identifies a graphic image to be embedded before the header text, while the DINGBAT attribute identifies an iconic entity to be embedded there. The clear attribute is used to position a header after a graphic: it can be LEFT, RIGHT, or ALL and specifies which margin should be clear. The NOWRAP attribute prevents the browser from breaking long header lines; use a BR tag to break those lines yourself.

CDI Home Page

Heading 6


<H6> text </H6>
(HTML 3.2 Only) <H6 ALIGN=alignment > text </H6>
(HTML 3.0 Only) <H6 SRC=
"URL" > text </H6>
(HTML 3.0 Only) <H6 DINGBAT=
"entity-name" > text </H6>
(HTML 3.0 Only) <H6 NOWRAP>
text </H6>
(HTML 3.0 Only) <H6 CLEAR=
clear > text </H6>

The heading 6 tag defines a level 6 heading. It is typically shown in a normal font, indented more than a level 5 heading, with a blank line above it.

The alignment attribute can be LEFT, RIGHT, or CENTER -- it defines the placement of the header on the screen. The SRC attribute identifies a graphic image to be embedded before the header text, while the DINGBAT attribute identifies an iconic entity to be embedded there. The clear attribute is used to position a header after a graphic: it can be LEFT, RIGHT, or ALL and specifies which margin should be clear. The NOWRAP attribute prevents the browser from breaking long header lines; use a BR tag to break those lines yourself.

CDI Home Page

Horizontal Rule


<HR>
(HTML 3.0 Only) <HR SRC= "URL">
(HTML 3.2 Only) <HR SIZE= number>
(HTML 3.2 Only) <HR WIDTH= number%>
(HTML 3.2 Only) <HR ALIGN= alignment%>
(HTML 3.2 Only) <HR NOSHADE>
(Microsoft Extension 3.0) <HR COLOR="colorname">

The horizontal rule tag causes a horizontal line to be drawn across the screen. There is no </HR> tag.

The attributes allow you to specify the thickness of the line (in pixels) with the SIZE attribute. The WIDTH attribute governs what percentage of the screen width is occupied by the rule. The ALIGN attribute aligns a rule that is smaller than the screen: alignment can be LEFT, RIGHT, or CENTER. The NOSHADE attribute prevents the browser from using any shading or three dimensional effects.

(Microsoft Extension 3.0) The COLOR attribute allows you to change the colour of the text. rrggbb is a six digit hexadecimal number with the first two digits specifying the red value, the middle two the green value, and the last two the blue value. Some sample colour values:

red
FF0000
green
00FF00
blue
0000FF
black
000000
white
FFFFFF
grey
888888
yellow
FFFF00
cyan
00FFFF

Colour names can also be used in the COLOR attribute. Valid colours are: Aqua, Black, Blue, Fuchsia, Gray, Green, Lime, Maroon, Navy, Olive, Purple, Red, Silver, Teal,Yellow, and White

(HTML 3.0 Only) The SRC attribute specifies an image file to be used for the rule.

CDI Home Page

Horizontal Tab
Support: HTML:3.0 Netscape:No Support MS Explorer:No Support


<TAB INDENT=number>
<TAB TO=
tab id ALIGN=align>
<TAB DP=
character>

The horizontal tab tag is used to set or jump to a horizontal tab. The INDENT attribute specifies the amount in en spaces to set this indent to. The ALIGN attribute can be one of LEFT, RIGHT, CENTER, or DECIMAL and will position the following text to the tab accordingly. The DP sets the tab to the position that the next character is found The default character is ".".

CDI Home Page

HTML


<HTML> entire-document </HTML>

The HTML tag defines an HTML document. The <HTML> tag should be the first in the entire document, and the </HTML> tag should be the last.

CDI Home Page

Inline Image


<IMG attributes>

The inline image tag displays an image referred to by a URL. It must contain at least an SRC attribute. The attributes are:

ALIGN="alignment"
Here "alignment" should be one of TOP, MIDDLE, or BOTTOM. This causes the top, middle, or bottom of the image to be aligned with the text on the line containing the IMG tag.
(HTML 3.2 Only) "alignment" can also be LEFT or RIGHT, this moves the image to the left or right of the screen and allows text to flow around it.
(Netscape Extension) "alignment" should be one of LEFT, RIGHT, TOP, TEXTTOP, MIDDLE, ABSMIDDLE, BASELINE, BOTTOM, or ABSBOTTOM.

ALT="text"
Here "text" is the text to be displayed by a browser that does not display images, such as Lynx, or to be used when image display is suppressed.

(HTML 3.2 Only) BORDER=number
Here number is the border thickness in pixels. (Do not use BORDER=0 for images that are links.)

(Microsoft Extension) CONTROLS
If present, and an AVI resource is being played, displays controls under the resource.

(Microsoft Extension) DYNSRC="URL"
Specifies an AVI resource to be played, or a VRML world. Always include a still image as well with the SRC attribute, for use by browsers that do not display inline video or VRML.

(HTML 3.2 Only) HEIGHT=number
This specifies the height of the image, according to the UNITS attribute.

(HTML 3.2 Only) HSPACE=number
Here number is the space, in pixels, to leave to the left and right of the image.

ISMAP
This attribute indicates that this image is a server side image map.

(Microsoft Extension) LOOP=n
The optional LOOP attribute will cause the resource to be played n times. LOOP="INFINITE" will cause the resource to be played continuously as long as the page is open.

(Netscape Extension) LOWSRC
Specifies an image to be displayed while the SRC image is being loaded. This alternate image should take much less time to download then the SRC image: it should be lower resolution, black and white, etc.
(Microsoft Extension) START="start option"
The START attribute specifies when the browser should start to play the resource specified with the DYNSRC attribute. START=FILEOPEN instructs the browser to play the resource only when the file is opened. START=MOUSEOVER instructs the browser to play the resource each time the user moves the mouse cursor over it. START=FILEOPEN,MOUSEOVER does both.

SRC="URL"
Here "URL" identifies the image source, typically a GIF or JPEG file.

(HTML 3.0 Only) UNITS=units
Here units is one of pixels, meaning the width and height are measured in pixels, or en, meaning the width and height are measured in en spaces.

(HTML 3.2 Only) USEMAP="url"
This attribute overrides the ISMAP attribute, if present, and if the browser supports client-side image maps. It uses the MAP element found at url to translate clicks.

(HTML 3.2 Only) WIDTH=number
This specifies the width of the image, according to the UNITS attribute.

(HTML 3.2 Only) VSPACE=number
Here number is the space, in pixels, to leave above and below the image.

CDI Home Page

Inserted Text
Support: HTML:3.0 Netscape:No Support MS Explorer:No Support


<INS> text </INS>

The inserted text tag marks text that has been inserted, for example in a group authoring situation or a legal document.

CDI Home Page

Is Index


<ISINDEX>
(HTML 3.0 Only) <ISINDEX HREF=
URL>
(HTML 3.2 Only) <ISINDEX PROMPT=prompt>

The isindex tag, which is only valid in a HEAD section, declares that the current HTML document is a searchable index. The user will be prompted for keywords to search for. A new URL will be formed by taking the base address of the current document and adding a '?' character to it, followed by the keywords separated by '+' characters. The URL attribute overrides the base address. The prompt attribute changes the prompt from the default one supplied by the browser.

CDI Home Page

Italic


<I> text </I>

The italic tag defines text that should be shown in italics. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag.

CDI Home Page

Java Applet
Support: HTML:3.2 Netscape:2.0+ MS Explorer:No Support


<APPLET attributes> applet-content </APPLET>

The Java applet tag runs a Java applet referred to by a URL. applet-content consists of optional PARAM tags, ordinary text and markup to be displayed by browsers that cannot run Java applets, and a TEXTFLOW tag if no ordinary text and markup is included. The attributes of the APPLET tag are:

CODEBASE="base"
What "base" should be used when resolving source relative URLs.
CODE="code"
The URL of the applet to be run.
NAME="applet name"
The name of the applet.
ALIGN="alignment"
Here "alignment" should be one of LEFT, RIGHT, TOP, MIDDLE, or BOTTOM.
ALT="text"
Here "text" is the text to be displayed by a browser that does not display images, such as Lynx, or to be used when image display is suppressed.
HEIGHT=number
The height of the applet display area in pixels.

WIDTH=number
The width of the applet display area in pixels.

HSPACE=number
The space, in pixels, to leave to the left and right of the applet display area.

 
VSPACE=number
The space, in pixels, to leave above and below the applet display area.

CDI Home Page

Java Applet Textflow
Support: HTML:3.2 Netscape:2.0+ MS Explorer:No Support


<TEXTFLOW>

If an APPLET element has no ordinary text and markup in its applet-content, and contains only PARAM tags, comments, and whitespace, you should add a TEXTFLOW tag. This tag will be ignored by Web browsers but will keep SGML parsers happy.

CDI Home Page

Keyboard


<KBD> text </KBD>

The keyboard tag defines text that should be shown in a fixed width font. It can be nested with other idiomatic or typographic tags but some browsers will respect only the innermost tag. Many browsers use the same font for the KBD, SAMP, TT and CODE tags. For many lines of fixed width text, with the line breaks and other whitespace specified by the page author, use the PRE tag.

CDI Home Page

Language
Support: HTML:3.0 Netscape:No Support MS Explorer:No Support


<LANG> text </LANG>

The language tag is used to alter the language used for a block of text.

CDI Home Page

Line Break


<BR>
(HTML 3.2 Only) <BR CLEAR>
(HTML 3.2 Only) <BR CLEAR="type">

The line break tag breaks the current line of text. It's not necessary inside a PRE element. There is no </BR> tag. The CLEAR attribute type can be LEFT to break until there is nothing to the left, RIGHT for the right side, all for break until both sides are clear, and NONE for a normal break.

CDI Home Page

Link


<LINK REL=relationship HREF="URL">
<LINK REV=
relationship HREF="URL">
(HTML 3.2 Only) <LINK REV=relationship HREF="URL" TITLE="title">

The link tag appears within the HEAD section of a document. It has all the same attributes as the anchor tag. The main 3 attributes used are REL, REV and HREF. The REL attribute specifies the relationship between this document and the link. The REV attribute specifies a reverse relationship while the HREF attribute specifies the URL of the link. The following is a list of some of the current relationships. The TITLE attribute specifies an advisory title string.

Toolbar relationships

Browsers use this tag to build custom toolbars for the document.

REL=Home
Link points to home or top page in hierarchy.
REL=ToC
Link points to a table of contents.
REL=Index
Link points to an index for the current page.
REL=Glossary
Link points to a glossary.
REL=Copyright
Link points to a page with copyright information for the current page.
REL=Up
Link points to the pages parent in the hierarchy.
REL=Next
Link points to the next page in a series of pages.
REL=Previous
Link points to the previous page in a series of pages.
REL=Help
Link points to information that may further explain the page to the user.
REL=Bookmark
Link points to a particular location within a long document. The TITLE attribute is used to label the bookmark.

Other relationships

REL=Banner
This use achieves the effect that the BANNER tag will eventually provide.
REL=StyleSheet
Link points to a style sheet that will be used to render the current document.

CDI Home Page

List Heading
Support: HTML:3.0 Netscape:No Support MS Explorer:No Support


<LH> text </LH>

The list heading tag defines the heading for an ordered, unordered, or definition list. Other tags may be embedded in a list heading. It must come before any List Item (LI) or Definition Term (DT) tags in the list.

CDI Home Page

List Item


<LI> text </LI>
(HTML 3.0 Only) <LI SRC=
URL> text </LI>
(HTML 3.0 Only) <LI DINGBAT=
"entity-name"> text </LI>
(HTML 3.0 Only) <LI SKIP=
number> text </LI>
(HTML 3.2 Only) <LI TYPE=type> text </LI>
(HTML 3.2 Only) <LI VALUE=number> text </LI>

The list item tag defines one entry in an ordered, unordered, menu, or directory list. Other tags may be embedded in a list item.

(HTML 3.0 Only)The SRC attribute uses the image specified by the URL as the bullet for this item. The DINGBAT attribute identifies an iconic entity for the bullet. The SKIP attribute is used with ordered lists to skip forward in the count.

(HTML 3.2 Only) The TYPE attribute changes the bullet or numbering style for this item. type has the same values as it would in the OL or UL tag. The VALUE attribute resets the sequence number to number.

CDI Home Page

Listing


<LISTING> text </LISTING>

The listing tag introduces a program listing. Because of the way this tag handles embedded tags, it should no longer be used. PRE is a better choice.

CDI Home Page

Map
Support: HTML:3.2 Netscape:2.0+ MS Explorer:2.0+


<MAP NAME="name"> area tags </MAP>

The map tag defines a client side image map It gives a name to a collection of AREA tags that are superimposed over an inline image to connect user clicks with URLs.

CDI Home Page

Marquee
Support: HTML:No Support Netscape:No Support MS Explorer:2.0+


<MARQUEE> text </MARQUEE>

<MARQUEE ALIGN="align"> text </MARQUEE>

<MARQUEE BEHAVIOR="behavior"> text </MARQUEE>

<MARQUEE BGCOLOR="#rrggbb"> text </MARQUEE>

<MARQUEE BGCOLOR="colorname"> text </MARQUEE>

<MARQUEE DIRECTION="direction"> text </MARQUEE>

<MARQUEE HEIGHT=n> text </MARQUEE>

<MARQUEE HEIGHT=n%> text </MARQUEE>

<MARQUEE HSPACE=n> text </MARQUEE>

<MARQUEE LOOP=n> text </MARQUEE>

<MARQUEE SCROLLAMOUNT=n> text </MARQUEE>

<MARQUEE SCROLLDELAY=n> text </MARQUEE>

<MARQUEE WIDTH=n> text </MARQUEE>

<MARQUEE VSPACE=n> text </MARQUEE>

<MARQUEE WIDTH=n%> text </MARQUEE>

The marquee tag defines a moving piece of text, like a movie marquee.

The ALIGN attribute works like the ALIGN attribute in the IMG tag, setting the location of the surrounding text. "align" can be TOP, BOTTOM, or MIDDLE.

The BEHAVIOR attribute defines the way the text moves. SCROLL means that the text slides into the marquee box and out again, then repeats. SLIDE means that the text slides into the marquee box, stops when it is all in, then repeats. ALTERNATE means that the text bounces back and forth within the marquee box.

The BGCOLOR attribute specifies the colour to be used for the background. rrggbb is a six digit hexadecimal number with the first two digits specifying the red value, the middle two the green value, and the last two the blue value. Some sample colour values:

red
FF0000
green
00FF00
blue
0000FF
black
000000
white
FFFFFF
grey
888888
yellow
FFFF00
cyan
00FFFF

Colour names can be used for the BGCOLOR attribute. Valid colours are: Aqua, Black, Blue, Fuchsia, Gray, Green, Lime, Maroon, Navy, Olive, Purple, Red, Silver, Teal,Yellow, and White.

The DIRECTION attribute is LEFT or RIGHT and specifies the direction in which the text should move.

The HEIGHT and WIDTH attributes size the marquee box. If n is an absolute number, it is taken to mean pixels; if n is followed by a % sign it is taken to mean a percentage of the width or height (as appropriate) of the screen.

The HSPACE and VSPACE attributes specify a margin to the left and right, or above and below, the marquee box, in pixels.

The LOOP attribute will cause the marquee to scroll n times. LOOP="INFINITE" will cause the marquee to scroll as long as the page is open.

The SCROLLAMOUNT attribute specifies, the amount, in pixels, to move the scrolling text by each time it is drawn. The SCROLLDELAY attribute specifies the delay, in milliseconds, between drawings.

CDI Home Page

Math
Support: HTML:3.0 Netscape:No Support MS Explorer:No Support


<MATH> math-content </M