About HTML Tags


Reference

Tag Description
A Stands for anchor. A is used to attach a hyperlink to text or graphics using the HREF= attribute. A is used to specify text or graphics as a named reference using the NAME= attribute.
ADDRESS Mailing address
AREA Specifies the shape of a "hot spot" in a client-side image map.
B Renders text in boldface. See STRONG.
BASE Specifies a document's URL.
BASEFONT Sets base font value.
BGSOUND Adds background sounds that play on initial load.
BIG Enlarges the font size.
BLOCKQUOTE Sets apart a quotation in text.
BODY Specifies the beginning and end of document body. See HEAD.
BR Inserts a line break.
CAPTION Used with TABLE to specify a caption for a table.
CENTER Centers text and images.
CITE A citation. Used to present a book, paper or other published source material.
CODE Presents a code sample.
COMMENT Comment. Text in a comment element does not display in a browser.
DD Definition data. Used to format the text for a definition. See DL, DT.
DFN Definition. Formats a defined term.
DIR Directory list.
DL Definition list. Used for a list of defined terms. See DT, DD.
DT Defintion term. Used to format the defined term. See DL, DD.
EM Emphasized text. Usually renders text in italics.
FONT Formats the font style.
FORM Form allows user to enter data. See INPUT for a list of form elements.
FRAME Defines independent windows, or frames, within a page. See FRAMESET.
FRAMESET Defines layout for frames within a page.
Hn Renders text in heading style usually with a larger font than the body text.
HEAD Marks the HTML document heading.
HR Horizontal rule. Draws a horizontal line. Used to separate sections.
HTML Denotes the file is an HTML document.
I Renders text in italics.
IMG Specifieds a graphic file
INPUT Specifies a form control such as a checkbox or radio button. See FORM.
ISINDEX Indicates the presence of a searchable index.
KBD Text to be entered a keyboard. Fixed-width and boldface type.
LI An item in an ordered or unordered list. Adds a bullet or special character.
LISTING Renders text in fixed-width type.
MAP Specifies a collection of hot spots for a client-side image map.
MARQUEE Displays text in a scrolling marquee.
MENU Denotes a list of items.
META Implements client pull.
NOBR Turns off line breaking.
NOFRAMES Content viewable by browsers that do not support frames.
OBJECT Inserts an OLE Control.
OL Specifies an ordered list. Each item has a number or letter reference. See UL, LI.
OPTION One choice in a list box.
P New paragraph. Inserts a line space before P.
PARAM Sets object properties.
PLAINTEXT Renders text in fixed-width type without processing tags.
PRE Displays text exactly as typed &#151 with all line breaks and spacing.
S Strikethrough.
SAMP Specifies a code sample. See CODE.
SELECT Denotes a list box or dropdown list.
SMALL Decreases the font size.
STRIKE Strikethrough type. See S.
STRONG Emphasizes text usually with boldface. See B.
SUB Subscript.
SUP Renders text in superscript.
TABLE TABLE. See TR, TD.
TEXTAREA Creates a box in which a user can enter and edit text.
TITLE Document title. Appears in Windows header.
TT Renders text in fixed-width type.
U Underline.
UL Unordered list. List items are bulleted. See LI.
VAR Renders text as a small fixed-width font.
WBR Inserts a soft linebreak in a block of NOBR text.
XMP Renders text in fixed-width type.

A

<A
HREF=reference
NAME=name
TARGET=window>

Stands for anchor. The A and /A tags enclose text or graphics. The properties of attributes that can follow A are applied to the enclosed text or graphic image. A is used to attach a hyperlink to text or graphics specified in the HREF= attribute. A is used to specify text or graphics to be used as a named reference specified in the NAME= attribute.

HREF=reference
Specifies either a destination address or a destination file. A destination address must be in URL format. A destination file must name a file and be in the format of the given file system. If no path or domain name is specificied, the file is searched for in the same location as the current document.
NAME=name
Specifies a named reference within an HTML document. Name can be referenced by its document and external documents in a hyperlink by prefacing it with the pound sign, #.
TARGET=window
Specifies to load the link into the targeted window. This attribute can be used with a frameset where a frame has been named in the FRAME tag. The window can be one of these values:
window Specifies to load the link into the targeted window. The window must begin with an alpha-numeric character to be valid, except for the four target windows detailed below.
_blank Specifies to load the link into a new blank window. This window is not named.
_parent Specifies to load the link into the immediate parent of the document the link is in.
_self Specifies to load the link into the same window the link was clicked in.
_top Specifies to load the link into the full body of the window.

Example

<A HREF="http://www.microsoft.com"> This is a link to Microsoft.</A> 

<A HREF="home.htm">This is a link to a file called Home.htm in the same directory as this page.</A> 

<A TARGET="viewer" HREF="sample.htm">Click here to load the link into "viewer" window.</A>

ADDRESS

<ADDRESS>

Used to specify the mailing address, physical location or mailing address of an organization. This tag typically is used at the bottom of a document. Text is displayed in italics.

Example

<ADDRESS>This text will be in italics.</ADDRESS> 

AREA

<AREA
COORDS=coords
SHAPE=shape-type
NOHREF HREF=url
TARGET=window >

Specifies the shape of a "hot spot" in a client-side image map.

COORDS=coords
Coordinates that define the hot spot's shape. RECT hot spots, for example, use just two.
HREF=url
Specifies the destination of the hot spot.
NOHREF
Indicates that clicks in this region should cause no action.
SHAPE=shape-type
Denotes the type of shape. The shape-type can be one of these values:
RECT Rectangle. Takes four coordinates: x1, y1, x2, and y2.
RECTANGLE Rectangle. Takes four coordinates: x1, y1, x2, and y2.
CIRC Circle. Takes three coordinates: centerx, centery, and radius.
CIRCLE Circle. Takes three coordinates: centerx, centery, and radius.
POLY Polygon. Takes three or more pairs of coordinates denoting a polygonal region.
POLYGON Polygon. Takes three or more pairs of coordinates denoting a polygonal region.
TARGET=window
Specifies to load the link into the targeted window. The window can be one of these values:
window Specifies to load the link into the targeted window. The window must begin with an alpha-numeric character to be valid, except for the four target windows detailed below.
_blank Specifies to load the link into a new blank window. This window is not named.
_parent Specifies to load the link into the immediate parent of the document the link is in.
_self Specifies to load the link into the same window the link was clicked in.
_top Specifies to load the link into the full body of the window.

Examples

<AREA SHAPE="RECT" COORDS="50, 25, 150, 125" HREF="http://www.sample.com"> 

<AREA SHAPE="RECT" COORDS="50, 25, 150, 125" NOHREF> 

<AREA TARGET="viewer" HREF="sample.htm" SHAPE="CIRCLE" COORDS="50, 25, 150, 125">

B

<B>

Changes text to bold.

Example

<B>Hi there!</B> 

BASE

<BASE
HREF=url
TARGET=window>

Specifies the document's URL.

HREF=url
Specifies the document's full URL in case the document gets read out of context and the reader wants to refer to the original.
TARGET=window
Specifies to load all of the links on the page into the targeted window. This can be overridden by specifying a different target attribute for a specific link. The window can be one of these values:
window Specifies to load the link into the targeted window. The window must begin with an alpha-numeric character to be valid, except for the four target windows detailed below.
_blank Specifies to load the link into a new blank window. This window is not named.
_parent Specifies to load the link into the immediate parent of the document the link is in.
_self Specifies to load the link into the same window the link was clicked in.
_top Specifies to load the link into the full body of the window.

Examples

<BASE HREF="http:// www.sample.com/hello.htm"> 

<BASE HREF="http:// www.sample.com/hello.htm" TARGET="viewer">

BASEFONT

<BASEFONT
SIZE=n>

Sets base font value.

SIZE=n
Sets the base font size. The n can be between 1 and 7 inclusive; default is 3; 7 is largest. Throughout the document, relative font size settings (for example, <FONT SIZE=+3>) are set according to this.

Example

<BASEFONT SIZE=3> This sets the base font size to 3.
<FONT SIZE=+4> Now the font size is 7.
<FONT SIZE=-1> Now the font size is 2.

BGSOUND

<BGSOUND
SRC=url
LOOP=n >

Adds background sounds or "soundtracks" to a page. Sounds can either be samples (WAV or AU format) or MIDI format.

SRC=url
Specifies the address of a sound to be displayed.
LOOP=n
Specifies how many times a sound will loop when activated. If n=-1, or if LOOP=INFINITE is specified,it will loop indefinitely.

BIG

<BIG>

Makes text one size larger.

Example

<BIG>This text is larger</BIG> 

BLOCKQUOTE

<BLOCKQUOTE>

Indents both left and right margins. Used to set apart quotations in text.

Example

<P>He said,
<BLOCKQUOTE>"Hi there!" </BLOCKQUOTE> 

BODY

<BODY
BACKGROUND=url
BGPROPERTIES=FIXED
BGCOLOR=color
TEXT=color
LINK=color
VLINK=color>

Specifies the beginning and end of the document body. This tag also allows you to set the background image, the background color, the link colors, and the top and left margins of the page.

BACKGROUND=url
Specifies a background picture. The picture is tiled behind the text and graphics on the page.
BGCOLOR=color
Sets the background color of the page. The color can be either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
BGPROPERTIES=FIXED
Specifies a watermark, which is a background picture that does not scroll.
LEFTMARGIN=n
Specifies the left margin for the entire body of the page and overrides the default margin. Set to "0", the left margin will be exactly on the left edge.
LINK=color
Sets the color of hyperlinks that have not yet been visited. The color can be either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
TEXT=color
Sets the color of text on the page. The color can be either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
TOPMARGIN=n
Specifies the margin for the top of the page and overrides the default margin. Set to "0" the top margin will be on the precise top edge.
VLINK=color or colorname
Sets color of hyperlinks that have already been visited. The color can be either a hexadecimal, red-green-blue color value or a predefined color name. See Color.

Examples

The HTML used to insert the background image of this page is:

<BODY BACKGROUND="/ie/images/watermrk.gif" BGPROPERTIES=FIXED BGCOLOR=#FFFFFF TEXT=#000000 LINK=#ff6600 VLINK=#330099>
<HTML> <BODY>Here's a Web page!</BODY></HTML> 

BR

<BR
CLEAR=align-type>

Inserts a line break.

CLEAR=align-type
Inserts vertical space so that the next text displayed will be past left- or right-aligned "floating" images. The align-type can be one of these:
LEFT Inserts space so that the next text appears aligned with the left margin directly below a left-aligned floating image.
RIGHT Inserts space so that the next text appears aligned with the left margin directly below a left-aligned floating image.
ALL Places the next text past all floating images.

CAPTION

<CAPTION
ALIGN=align-type>

Specifies a caption for a table.

ALIGN=align-type
Sets the alignment of the caption within the table. The align-type can be one of these values:
LEFT Caption aligned with left edge of table.
RIGHT Caption aligned with right edge of table.
TOP Caption at the top of the table.
BOTTOM Caption at the bottom of the table.

By default, the caption is centered and at the bottom of the table.

This tag is valid only within the TABLE tag. The end tag is required.

Example

<TABLE>
<CAPTION ALIGN=BOTTOM>
This caption will appear centered below the table.
</CAPTION>
<TR>
     ....
</TR>
</TABLE>

CENTER

Causes subsequent text and images to be centered.

Example

<CENTER>Hi there!</CENTER> 

CITE

<CITE>

A citation. Refers to a book, paper or other published source material.

Example

<CITE>The Road Ahead.</CITE> 

CODE

<CODE>

Specifies a code sample. Renders text in a small font. (If no FONT FACE is specified, the font used is fixed-width.)

Example

<CODE>Here is some text in a small fixed-width font.</CODE> 

COL

<COL
ALIGN=align-type
SPAN=n>

Sets the properties of one or more columns. Use this tag in conjunction with a COLGROUP tag to set the properties of a column within a group of columns.

ALIGN=align-type
Specifies the text alignment in cells within the column. The align-type can be one of these values:
CENTER Column and text are centered. This is the default.
LEFT Column and text are left-aligned.
RIGHT Column and text are right-aligned.
HTML 3
SPAN=n
Sets the number of consecutive columns for which the properties are set.
HTML 3

This tag is valid only within a table. The end tag is not required and not recommended.

The properties specified by the COL tag always override the properties specified by the preceding COLGROUP tag.

Example

<TABLE>
<COLGROUP>
    <COL ALIGN=RIGHT>
    <COL ALIGN=LEFT>
<COLGROUP>
    <COL ALIGN=CENTER>
<TBODY>
    <TR>
    <TD>This is the first column in the group and is right-aligned.</TD>
    <TD>This is the second column in the group and is left-aligned.</TD>
    <TD>This column is in a new group and is centered.</TD>
    </TR>
</TABLE>

COLGROUP

<COLGROUP
ALIGN=align-type
SPAN=n>

Sets the properties of one or more columns.

ALIGN=align-type
Specifies the alignment of text in the cells in the column(s). The align-type can be one of these values:
CENTER Text is centered. This is the default.
LEFT Text is left-aligned.
RIGHT Text is right-aligned.
HTML 3
SPAN=n
Sets the number of consecutive columns that are in the group and for which the properties are set.
HTML 3

This tag is valid only within a table. The end tag is not required and not recommended.

If the columns in a group of columns require varying properties, use COLGROUP in conjunction with one or more COL tags to individually set the properties for the columns.

This tag affects how rules are drawn within a table when GROUPS is specified with the RULES= attribute in TABLE. In this case, vertical rules are drawn between column groups rather than between individual columns.

Example

<TABLE>
<COLGROUP ALIGN=RIGHT>
<COLGROUP SPAN=2 ALIGN=LEFT>
<TBODY>
    <TR>
    <TD>This column is in the first group and is right-aligned</TD>
    <TD>This column is in the second group and is left-aligned</TD>
    <TD>This column is in the second group and is left-aligned</TD>
    </TR>
</TABLE>

COMMENT

Indicates a comment. The text between the tags is ignored, unless it contains HTML code.

Example

<COMMENT>This won't be printed.</COMMENT> 

DD

<DD>

Specifies a definition in a definition list. Indicates that the text is a definition of a term, and should therefore be displayed in the right-hand column of a definition list.

Example

<DL> <DT>Cat<DD>A furry cute animal that purrs and likes milk.
<DT>Lizard<DD>A weird desert animal with a long tongue.</DL> 

DFN

<DFN>

Renders text in italics.

Example

<DFN>This text will be in italics.</DFN> 

DIR

<DIR>

Denotes a directory list. Specifies that the following block consists of individual items, each beginning with an LI tag and none containing more than 20 characters, which should be displayed in columns.

Example

<DIR> <LI>Art
<LI>History
<LI>Literature
<LI>Sports
<LI>Entertainment
<LI>Science
</DIR> 

DL

<DL>

Denotes a definition list. Specifies that the following block is a definition list: that is, an automatically formatted two-column list with terms on the left and their definitions on the right.

Example

<DL>
<DT>Cat
<DD>A furry cute animal that purrs and likes milk.
<DT>Lizard
<DD>A weird desert animal with a long tongue.
</DL> 

DT

<DT>

Specifies a term in a definition list. Indicates that the text is a term to be defined, and should therefore be displayed in the left-hand column of a definition list.

Example

<DL> <DT>Cat<DD>A furry cute animal that purrs and likes milk.
<DT>Lizard<DD>A weird desert animal with a long tongue.</DL> 

EM

Renders text in italics.

Example

<EM>This text will be in italics.</EM> 

FONT

<FONT
SIZE=n
FACE=facenames
COLOR=color>

Sets the size, font face, and color of text.

SIZE=n
Specifies font size between 1 and 7 (7 is largest). A plus or minus before the number indicates a size relative to the current BASEFONT setting. Relative font sizes are not cumulative, so putting two <FONT SIZE=+1> tags in a row does not result in the font size being increased by 2.
COLOR=color
Sets font color. The color can be either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
FACE="name [,name2[,name3]]"
Sets the font. A list of font names can be specified. If the first font is available on the system, it will be used, otherwise the second will be tried, and so on. If none are available, a default font will be used.

FORM

<FORM
ACTION=url
METHOD=get-post
TARGET=window>

Denotes a form.

ACTION=url
Specifies the address to be used to carry out the action of the form. If none is specified, the base URL of the document is used.
METHOD=get-post
Indicates how the form data should be sent to the server. Can be one of these values:
GET Appends the arguments to the action URL and open it as if it were an anchor.
POST Sends the data via an HTTP post transaction.
TARGET=window
Specifies to load the results of the form submission into the targeted window. The window can be one of these values:
window Specifies to load the link into the targeted window. The window must begin with an alpha-numeric character to be valid, except for the four target windows detailed below.
_blank Specifies to load the link into a new blank window. This window is not named.
_parent Specifies to load the link into the immediate parent of the document the link is in.
_self Specifies to load the link into the same window the link was clicked in.
_top Specifies to load the link into the full body of the window.

Example

<FORM TARGET="viewer" ACTION="http://www.sample.com/bin/search">
    ...
</FORM>

FRAME

<FRAME
ALIGN=align-type
FRAMEBORDER=yes-no
MARGINHEIGHT=height
MARGINWIDTH=width
NAME=name
SCROLLING=yes-no
SRC=address

Defines a single frame in a frameset. There is no matching end tag as this is not a container.

ALIGN=align-type
Sets the alignment of the frame or of the surrounding text. The align-type can be one of these values:
TOP Surrounding text is aligned with the top of the frame.
MIDDLE Surrounding text is aligned with the middle of the frame.
BOTTOM Surrounding text is aligned with the bottom of the frame.
LEFT The frame is drawn as a left-flush "floating frame," and text flows around it.
RIGHT The frame is drawn as a right-flush "floating frame," and text flows around it.
FRAMEBORDER=yes-no
Provides the option to display or not display a border for a frame. The yes-no can be either YES or NO.
MARGINHEIGHT=height
Controls the margin height for the frame in pixels.
MARGINWIDTH=width
Controls the margin width for the frame in pixels.
NAME=name
Provides a target name for the frame.
NORESIZE
Prevents the user from resizing the frame.
SCROLLING=yes-no
Creates a scrolling frame.
SRC=address
Displays the source file for the frame.

Example

<FRAME FRAMEBORDER=NO SCROLLING=NO SRC="sample.htm">

FRAMESET

<FRAMESET
COLS=col-widths
FRAMEBORDER=yes-no
FRAMESPACING=spacing
ROWS=row-heights

This is a container which hosts the FRAME, FRAMESET, and NOFRAMES tags.

COLS=col-widths
Creates a frame document with columns. You can specify the column dimensions by percentage (%), pixels, or a relative size (*).
FRAMEBORDER=yes-no
Provides the option to display or not display a border for a frame.
FRAMESPACING=spacing
Creates additional space between frames in pixels.
ROWS=row-heights
Creates a frame document with rows. You can specify the row dimensions by percentage (%), pixels, or a relative size (*).

The FRAMEBORDER= and FRAMESPACING= attributes are inherited from any containing FRAMESET tag, which means you only need to set the attribute on the single, outermost FRAMESET tag to affect all FRAME tags on that page.

Example

<FRAMESET SCROLLING=YES COLS="25%, 50%, *">
    <FRAME SRC="contents.htm">
    <FRAME SRC="info.htm">
    <FRAME SCROLLING=NO SRC="graphic.htm">
</FRAMESET>

H

<Hn
ALIGN=align-type>

Renders text in heading style. Use H1 through H7 to specify different sizes and styles of heading.

n
Sets the section level. Must be a decimal number in the range 1 through 7.
ALIGN=align-type
Sets the alignment of the heading. The align-type can be CENTER, LEFT or RIGHT. Default is left alignment.

The end tag is required.

Example

<H1>Welcome to Internet Explorer!</H1> 

Source

HTML 2

HEAD

<HEAD>

Marks the HTML document heading.

The end tag is not required.

Example

<HEAD>
<TITLE>A Simple Document</TITLE>
</HEAD>

HR

<HR
ALIGN=align-type
COLOR=color
NOSHADE
SIZE=n
WIDTH=n>

Draws a horizontal rule.

ALIGN=align-type
Draws the rule left-aligned, right-aligned, or centered. The align-type can be LEFT, RIGHT, or CENTER.
COLOR=color
Sets the color of the rule. The color can be either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
NOSHADE
Draws the rule without 3-D shading.
SIZE=n
Sets the height of the rule in pixels.
WIDTH=n
Sets the width of the rule either in pixels or as a percentage of window width. To specify a percentage, the n must end with the percent (%) sign.

Example

<HR SIZE=5 WIDTH=80% NOSHADE>

HTML

<HTML>

Denotes the file as an HTML document.

This tag has no attributes.

Example

<HTML>
<BODY> 
<P>This is an HTML document.
</BODY> 
</HTML> 

I

<I>

Renders text in italics.

Example

<I>This text will be in italics.</I> 

IMG

<IMG
ALIGN=align-type
ALT=text
BORDER=n
CONTROLS
DYNSRC=url
HEIGHT=n
HSPACE=n
ISMAP
LOOP=n
SRC=address
START=start-event
USEMAP=map-name
VSPACE=n
WIDTH=n>

Inserts an image.

ALIGN=align-type
Sets the alignment of the image or of the surrounding text. The align-type can be one of these values:
TOP Surrounding text is aligned with the top of the image.
MIDDLE Surrounding text is aligned with the middle of the image.
BOTTOM Surrounding text is aligned with the bottom of the image.
LEFT The picture is drawn as a left-flush "floating image," and text flows around it.
RIGHT The picture is drawn as a right-flush "floating image," and text flows around it.
ALT=text
Specifies text that will be displayed in place of the picture if Show Pictures is turned off.
BORDER=n
Specifies the size of a border to be drawn around the image. If the image is a hyperlink, the border is drawn in the appropriate hyperlink color. If the image is not a hyperlink, the border is invisible.
CONTROLS
If a video clip is present, a set of controls is displayed under the clip.
DYNSRC=url
Specifies the address of a video clip or VRML world to be displayed in the window. Stands for Dynamic Source.
HEIGHT=n
Along with WIDTH=, specifies the size at which the picture is drawn. If the picture's actual dimensions differ from those specified, the picture is stretched to match what's specified. Internet Explorer also uses this to draw a placeholder of appropriate size for the picture before it's loaded.
HSPACE=n
Along with VSPACE=, specifies margins for the image. Similar to BORDER=, except the margins are not painted with color when the image is a hyperlink.
ISMAP
Identifies the picture as a server-side image map. Clicking the picture transmits the coordinates of the click back to the server, triggering a jump to another page.
LOOP=n
Specifies how many times a video clip will loop when activated. If n=-1, or if LOOP=INFINITE is specified, it will loop indefinitely.
SRC=address
Specifies the address of the picture to insert.
START=start-event
Specifies when the file specified by the DYNSRC= attribute should start playing. The start-event can be one of these values:
FILEOPEN Start playing as soon as the file is done opening. This is the default.
MOUSEOVER Start playing when the user moves the mouse pointer over the animation.

Both values can be set but must be separated with a comma.

USEMAP=map-name
Identifies the picture as a client-side image map and specifies a MAP to use for acting on the user's clicks.
VSPACE=n
Along with HSPACE=, specifies margins for the image. Similar to BORDER=, except the margins are not painted with color when the image is a hyperlink.
WIDTH=n
Along with HEIGHT=, specifies the size at which the picture is drawn. If the picture's actual dimensions differ from those specified, the picture is stretched to match what's specified. Internet Explorer also uses this to draw a placeholder of appropriate size for the picture before it's loaded.

INPUT

<INPUT
ALIGN=align-type
[CHECKED|]
MAXLENGTH=length
NAME=name
SIZE=size
SRC=address
TYPE=type
VALUE=value>

Specifies a form control.

ALIGN=align-type
Used when TYPE=IMAGE. Specifies how the next line of text will be aligned with the image. The align-type can be TOP, MIDDLE, or BOTTOM.
CHECKED
Include CHECKED to set a checkbox or radio button to "selected" when the form first loads.
MAXLENGTH=length
Indicates the maximum number of characters that can be entered into a text control.
NAME=name
Specifies the name of the control.
SIZE=size
Specifies the size of the control (in characters). For TEXTAREA-type controls, both height and width can be specified, using this format: "width,height".
SRC=address
Used when TYPE=IMAGE. Specifies the address of the image to be used.
TYPE=type
Specifies what type of control to use. The type can be one of these:
CHECKBOX Used for simple Boolean attributes or for attributes that can take multiple values at the same time. It is represented by a number of check box fields, each of which has the same name. Each selected check box generates a separate name/value pair in the submitted data, even if this results in duplicate names. The default value for check boxes is "on."
HIDDEN No field is presented to the user, but the content of the field is sent with the submitted form. This value can be used to transmit state information about client/server interaction.
IMAGE An image field which you can click, causing the form to be immediately submitted. The coordinates of the selected point are measured in pixel units from the upper-left corner of the image, and are returned (along with the other contents of the form) in two name/value pairs. The x-coordinate is submitted under the name of the field with ".x" appended, and the y-coordinate is submitted under the name of the field with ".y" appended. Any VALUE attribute is ignored. The image itself is specified by the SRC attribute, exactly as for the Image element.
PASSWORD The same as the TEXT attribute, except that text is not displayed as the user enters it.
RADIO Used for attributes that accept a single value from a set of alternatives. Each radio-button field in the group should be given the same name. Only the selected radio button in the group generates a name/value pair in the submitted data. Radio buttons require an explicit VALUE attribute.
RESET A button that when clicked resets the form's fields to their specified initial values. The label to be displayed on the button can be specified just as for the SUBMIT button.
SUBMIT A button that when clicked submits the form. You can use the VALUE attribute to provide a non-editable label to be displayed on the button. The default label is application-specific. If a SUBMIT button is clicked in order to submit the form, and that button has a NAME attribute specified, then that button contributes a name/value pair to the submitted data. Otherwise, a SUBMIT button makes no contribution to the submitted data.
TEXT Used for a single-line text-entry field. Use in conjunction with the SIZE and MAXLENGTH attributes.

This default control type is TEXT.

VALUE=value
For textual/numerical controls, specifies the default value of the control. For Boolean controls, specifies the value to be returned when the control is turned on.

Example

<FORM ACTION="http://intranet/survey" METHOD=POST>
<P>Name
<BR><INPUT NAME="CONTROL1" TYPE=TEXT VALUE="Your Name">
<P>Password
<BR><INPUT TYPE="PASSWORD" NAME="CONTROL2">
<P>Color
<BR><INPUT TYPE="RADIO" NAME="CONTROL3" VALUE="0" CHECKED>Red
<INPUT TYPE="RADIO" NAME="CONTROL3" VALUE="1">Green
<INPUT TYPE="RADIO" NAME="CONTROL3" VALUE="2">Blue
<P>Comments
<BR><INPUT TYPE="TEXTAREA" NAME="CONTROL4" SIZE="20,5" MAXLENGTH="250">
<P><INPUT NAME="CONTROL5" TYPE=CHECKBOX CHECKED>Send receipt
<P><INPUT TYPE="SUBMIT" VALUE="OK"><INPUT TYPE="RESET" VALUE="Reset">
</FORM>

ISINDEX

<ISINDEX
ACTION=url
PROMPT=prompt-text>

Indicates the presence of a searchable index.

ACTION=url
Specifies the gateway program to which the string in the text box should be passed.
PROMPT=prompt-text
Specifies a prompt to be used instead of the default prompt.

If the PROMPT= attributes is not used, the tag displays the following message followed by a text box: "You can search this index. Type the keyword(s) you want to search for:" When the user enters text and presses ENTER, that text is posted back to the page's URL as a query.

Example

<ISINDEX ACTION="http://intranet/search" PROMPT="Type in keywords here."> 

KBD

<KBD>

Renders text in fixed-width and boldface type.

Example

<KBD>this is text that the user is supposed to type.</KBD> 

Source

HTML 2

LI

<LI
TYPE=order-type
VALUE=n>

Denotes one item of a list. In a DIR, MENU, OL, or UL block, denotes a new list item.

TYPE=order-type
Changes the style of an ordered list. The order-type can be one of these values:
A Use large letters
a Use small letters
I Use large Roman numerals
i Use small Roman numerals
1 Use numbers.
VALUE=n
Changes the count of ordered lists as they progress.

Example

<DIR> <LI>Art
<LI>History
<LI>Literature
<LI>Sports
<LI>Entertainment
<LI>Science</DIR> 

LISTING

<LISTING>

Renders text in fixed-width type.

Example

<LISTING>Here's some plain text.</LISTING> 

MAP

<MAP
NAME=name>

Specifies a collection of hot spots for a client-side image map.

NAME=name
Gives the MAP a name so it can be referred to later. See below for an example of a client-side image map.

Example

<MAP NAME="map1">
     <AREA ... >
    <AREA ... >
</MAP> 

MARQUEE

<MARQUEE
ALIGN=align-type
BEHAVIOR=type
BGCOLOR=color
DIRECTION=direction
HEIGHT=n
HSPACE=n
LOOP=n
SCROLLAMOUNT=n
SCROLLDELAY=n
VSPACE=n
WIDTH=n>

Creates a scrolling text marquee.

ALIGN=align-type
Specifies how the surrounding text should align with the marquee. The align-type can be one of these values:
TOP Surrounding text aligns with the top of the marquee.
MIDDLE Surrounding text aligns with the middle of the marquee.
BOTTOM Surrounding text aligns with the bottom of the marquee.
BEHAVIOR=type
Specifies how the text should behave. The type can be one of these values:
SCROLL Start completely off one side, scroll all the way across and completely off, and then start again. This is the default.
SLIDE Start completely off one side, scroll in, and stop as soon as the text touches the other margin.
ALTERNATE Bounce back and forth within the marquee.
BGCOLOR=color
Specifies a background color for the marquee. The color can be either a hexadecimal number (optionally preceded by a number (#) sign) specifying a red, green, and blue color value, or a predefined color name as described in Color.
DIRECTION=direction
Specifies which direction the text should scroll. The direction can be LEFT or RIGHT. The default is LEFT, which means scrolling to the left from the right.
HEIGHT=n
Specifies the height of the marquee, either in pixels or as a percentage of the screen height. To specify a percentage, the n must be end with a percent (%) sign.
HSPACE=n
Specifies left and right margins for the outside of the marquee, in pixels.
LOOP=n
Specifies how many times a marquee will loop when activated. If n=-1, or if LOOP=INFINITE is specified, it will loop indefinitely.
SCROLLAMOUNT=n
Specifies the number of pixels between each successive draw of the marquee text.
SCROLLDELAY=n
Specifies the number of milliseconds between each successive draw of the marquee text.
VSPACE=n
Specifies top and bottom margins for the outside of the marquee, in pixels.
WIDTH=n
Sets the width of the marquee, either in pixels or as a percentage of the screen width. To specify a percentage, the n must end with a percent (%) sign.

Example

<MARQUEE DIRECTION=RIGHT BEHAVIOR=SCROLL SCROLLAMOUNT=10 SCROLLDELAY=200>This is a scrolling marquee.</MARQUEE> 

MENU

<MENU>

Denotes a list of items. Specifies that the following block consists of individual items, each beginning with an LI tag.

Example

<MENU>
<LI>This is the first item in the menu.
<LI>And this is the second item in the menu.
</MENU> 

META

<META attributes>

A general purpose tag typically used to store application-specific information in a HTML document.

HTTP-EQUIV="REFRESH"
Causes a document to be automatically reloaded on a regular basis, specified in seconds.
CONTENT="n; URL=url"
Tells the browser to reload in n seconds. If URL=url is specified, the browser will load the URL after the time specified has elapsed. If no URL is specified, it will reload the current document.

Examples

<HTML>
<HEAD>
<META HTTP-EQUIV="REFRESH" CONTENT=2>
<TITLE>Reload Document</TITLE>
</HEAD> 
<BODY> 
<P>This document will be reloaded every two seconds.
</BODY>
</HTML>

<HTML>
<HEAD>
<META HTTP-EQUIV="REFRESH" CONTENT="5; URL=http://www.sample.com/next.htm"> 
<TITLE>Load Next Document</TITLE>
</HEAD> 
<BODY> 
<P>After five seconds have elapsed, the document "http://www.sample.com/next.htm" will be loaded.
</BODY>
</HTML>

NOBR

<NOBR>

Turns off line breaking. Renders text without line breaks.

Example

<NOBR>Here's a line of text I don't want to be broken . . . here's the end of the line.</NOBR> 

NOFRAMES

<NOFRAMES>

Content viewable by browsers that do not support frames. Browsers that support frames will ignore all content between the beginning and ending NOFRAMES tags.

Example

<FRAMESET>
 <NOFRAMES>You need Internet Explorer 3.0 to view frames!</NOFRAMES>
</FRAMESET>

OBJECT

<OBJECT
ALIGN=align-type
BORDER=n
CLASSID=url
CODEBASE=url
CODETYPE=codetype
DATA=url
DECLARE
HEIGHT=n
HSPACE=n
NAME=url
SHAPES
STANDBY=message
TYPE=type
USEMAP=url
VSPACE=n
WIDTH=n>

Inserts an object, such as an image, document, applet or control, into the HTML document.

ALIGN=align-type
Sets the alignment for the object. The align-type can be one of these values:
BASELINE The bottom of the object aligns with the baseline of surrounding text.
CENTER The object is centered between left and right margins. Subsequent text starts on the next line after the object.
LEFT The object aligns with the left margin, and subsequent text wraps along the right side of the object.
MIDDLE The middle of the object aligns with the baseline of surrounding text.
RIGHT The object aligns with the right margin, and subsequent text wraps along the left side of the object.
TEXTBOTTOM The bottom of the object aligns with the bottom of surrounding text.
TEXTMIDDLE The middle of the object aligns with the midpoint between the baseline and the x-height of the surrounding text.
TEXTTOP The top of the object aligns with the top of surrounding text.
BORDER=n
Specifies the width of the border if the object is defined to be a hyperlink.
CLASSID=url
Identifies the object implementation. The syntax of the url depends on the object type. For example, for registered ActiveX controls, the syntax is: CLSID:class-identifier.
CODEBASE=url
Identifies the codebase for the object. The syntax of the url depends on the object.
CODETYPE=codetype
Specifies the Internet media type for code.
DATA=url
Identifies data for the object. The syntax of the url depends on the object.
DECLARE
Declares the object without instantiating it. Use this when creating cross-references to the object later in the document or when using the object as a parameter in another object.
HEIGHT=n
Specifies the suggested height for the object.
HSPACE=n
Specifies the horizontal gutter. This is the extra, empty space between the object and any text or images to the left or right of the object.
NAME=url
Sets the name of the object when submitted as part of a form.
SHAPES
Specifies that the object has shaped hyperlinks.
STANDBY=message
Sets the message to show while loading the object.
TYPE=type
Specifies the Internet media type for data.
USEMAP=url
Specifies the image map to use with the object.
VSPACE=n
Specifies the vertical gutter. This is the extra, empty space between the object and any text or images above or below the object.
WIDTH=n
Specifies the suggested width for the object.

The end tag is required.

An object can contain any tags ordinarily used within the body of an HTML document, including section headings, paragraphs, lists, forms and even nested objects.

OL

<OL
START=n
TYPE=order-type >

Draws lines of text as an ordered list. Specifies that the following block consists of individual items, each beginning with an LI tag. The items are numbered.

START=n
Specifies a starting number for the list.
TYPE=order-type
Changes the style of the list. The order-type can be one of these values:
A Use large letters
a Use small letters
I Use large Roman numerals
i Use small Roman numerals
1 Use numbers.

Example

<OL>
<LI>This is the first item in the list.
<LI>And this is the second item in the list.
</OL> 

<ex><OL START=3>
<LI>This is item number 3.
</OL> 

<OL TYPE=A>
<LI>This is item A.
</OL> 

OPTION

<SELECT
SELECTED
VALUE=value>

Denotes one choice in a list box. In a SELECT block, denotes one of the choices that will appear in the list.

SELECTED
Indicates that this item is the default. If not present, item #1 becomes the default.
VALUE=value
Indicates the value that will be returned if this item is chosen.

P

<P
ALIGN=align-type>

Denotes a paragraph. Inserts a paragraph break and denotes a paragraph.

ALIGN=align-type
Sets the alignment of the paragraph. The align-type can be CENTER, LEFT, or RIGHT. Default is left alignment.

The end tag is optional.

Example

<P>This is a paragraph.</P> 

PARAM

<PARAM
NAME=name
VALUE=value
VALUETYPE=type
TYPE=type>

Sets property values for a given object.

NAME=name
Specifies the property name.
VALUE=value
Specifies the property value. The value is passed to the object without change except that any character or numeric character entities are replaced with their corresponding character values.
VALUETYPE=type
Specifies how to interpret the value. The type can be one of these values:
DATA The value is data. This is the default value type.
REF The value is a URL.
OBJECT The value is a URL of an object in the same document.
TYPE=type
Specifies the Internet media type.

This tag is valid only within an OBJECT tag. The end tag is optional.

PLAINTEXT

<PLAINTEXT>

Renders text in fixed-width type without processing tags. Renders text in fixed-width type. Also turns off HTML parsing until the browser encounters the </PLAINTEXT> tag.

Example

<PLAINTEXT> Here's a sample of HTML: <A HREF="sample.url">This is a shortcut to sample.</A></PLAINTEXT> 

PRE

<PRE>

Renders text in fixed-width type.

Example

<PRE>Here's some plain text.</PRE> 

Source

HTML 2

S

<S>

Renders text in strikethrough type.

Example

<S>This text has a line through it.</S> 

SAMP

<SAMP>

Specifies a code sample. Renders text in a small font. (If no FONT FACE is specified, the font used is fixed-width.)

Example

<SAMP>Here is some text in a small fixed-width font.</SAMP> 

SELECT

<SELECT
MULTIPLE
NAME=name
SIZE=n>

Denotes a list box or dropdown list.

MULTIPLE
Indicates that multiple items can be selected.
NAME=name
Specifies a name for the list.
SIZE=n
Specifies the height of the list control.

Example

<SELECT NAME="Cars" MULTIPLE SIZE="1">
    <OPTION VALUE="1">BMW
    <OPTION VALUE="2">PORSCHE
    <OPTION VALUE="3" SELECTED>MERCEDES
</SELECT> 

SMALL

<SMALL>

Makes text one size smaller.

Example

<SMALL>This text is smaller</SMALL> 

STRIKE

<STRIKE>

Renders text in strikethrough type.

Example

<STRIKE>This text has a line through it.</STRIKE>

STRONG

<STRONG>

Changes text to bold.

Example

<STRONG>This text will be bold.</STRONG>

SUB

<SUB>

Renders text in subscript.

Example

<SUB>This text is rendered as subscript.</SUB> 

SUP

<SUP>

Renders text in superscript.

Example

<SUP>This text is rendered as superscript.</SUP>

TABLE

<TABLE
ALIGN=align-type
BACKGROUND=url
BGCOLOR=color
BORDER=n
BORDERCOLOR=color
BORDERCOLORDARK=color
BORDERCOLORLIGHT=color
CELLPADDING=n
CELLSPACING=n
COLS=n
FRAME=frame-type
RULES=rules
WIDTH=n

Creates a table. The table is empty unless you create rows and cells using the TR, TD, and TH tags.

ALIGN=align-type
Specifies the table alignment. The align-type can be one of these values:
LEFT The table is left-aligned. This is the default alignment.
RIGHT The table is right-aligned. If the table is less than the width of the window, text following the table wraps along the left side of the table.
BACKGROUND=url
Specifies a background picture. The picture is tiled behind the text and graphics in the table, table head, or table cell.
BGCOLOR=color
Sets background color. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
BORDER=n
Size in pixels of the table border. The default is zero.
BORDERCOLOR=color
Sets border color and must be used with the BORDER attribute. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
BORDERCOLORLIGHT=color
Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORDARK, and must be used with the BORDER attribute. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
BORDERCOLORDARK=color
Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORLIGHT, and must be used with the BORDER attribute. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
CELLPADDING=n
Amount of space, in pixels, between the sides of a cell and its contents.
CELLSPACING=n
Amount of space, in pixels, between the frame (exterior) of the table and the cells in the table.
COLS=n
Number of columns in the table. If given, this attribute may speed up processing of tables, especially lengthy tables.
WIDTH=n
Sets the width of the table in pixel or as a percentage of the window. To set a percentage, the n must end with a percent (%) sign.
FRAME=frame-type
Specifies which sides of a frame (outer borders) are displayed. The frame-type can be one of these values:
VOID Removes all outside table borders.
ABOVE Displays a border on the top side of the table frame.
BELOW Displays a border on the bottom side of the table frame.
HSIDES Displays a border on the top and bottom sides of the table frame.
LHS Displays a border on the left-hand side of the table frame.
RHS Displays a border on the right-hand side of the table frame.
VSIDES Displays a border on the left and right sides of the table frame.
BOX Displays a border on all sides of the table frame.
BORDER Displays a border on all sides of the table frame.
RULES=rule-type
Specifies which dividing lines (inner borders) are displayed. The rule-type can be one of these values:
NONE Removes all interior table borders.
GROUPS Displays horizontal borders between all table groups. Groups are specified by the THEAD, TBODY, TFOOT, and COLGROUP tags.
ROWS Displays horizontal borders between all table rows.
COLS Displays vertical borders between all table columns.
ALL Displays a border on all rows and columns.

The end tag is required.

The optional THEAD, TBODY, TFOOT, COLGROUP, and COL tags can be used to organize a table and apply attributes across columns and groups of columns.

Example

<TABLE BORDER=1 WIDTH=80%>
<THEAD>
<TR>
    <TH>Heading 1</TH>
    <TH>Heading 2</TH>
</TR>
<TBODY>
<TR>
    <TD>Row 1, Column 1 text.</TD>
    <TD>Row 1, Column 2 text.</TD>
</TR>
<TR>
    <TD>Row 2, Column 1 text.</TD>
    <TD>Row 2, Column 2 text.</TD>
</TR>
</TABLE>

TBODY

<TBODY>

Defines the table body. Use this tag to distinguish the rows in the table header or footer from those in the main body of the table.

If a table does not have a header or footer (does not have a THEAD or TFOOT tag), the TBODY tag is optional. The end tag is always optional.

You can use the TBODY tag more than once in a table. This is useful for dividing lengthy tables into smaller units and for controlling the placement of horizontal rules.

Example

<TABLE>
<THEAD>
<TR> 
    ... 
</TR>
<TBODY>
<TR> 
    ... 
</TR>
</TBODY>
</TABLE>

TD

<TD
ALIGN=align-type
BACKGROUND=url
BGCOLOR=color
BORDERCOLOR=color
BORDERCOLORLIGHT=color
BORDERCOLORDARK=color
COLSPAN=n
NOWRAP=NOWRAP
ROWSPAN=n
VALIGN=align-type>

Creates a cell in a table.

ALIGN=align-type
Specifies the horizontal alignment of text in the cell. The align-type can be one of these values:
LEFT The table is left-aligned.
CENTER Text is centered.
RIGHT The table is right-aligned.

By default, text is centered.

BACKGROUND=url
Specifies a background picture. The picture is tiled behind the text and graphics in the table, table head, or table cell.
BGCOLOR=color
Sets background color. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
BORDERCOLOR=color
Sets border color and must be used with the BORDER attribute. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
BORDERCOLORLIGHT=color
Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORDARK, and must be used with the BORDER attribute. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
BORDERCOLORDARK=color
Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORLIGHT, and must be used with the BORDER attribute. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
VALIGN=align-type
Specifies that the vertical alignment of text in the cell. The align-type can be one of these values:
TOP Text is aligned with the top of each cell.
MIDDLE Text is aligned in the middle of each cell.
BOTTOM Text is aligned with the bottom of each cell.
BASELINE Text in adjoining cells in a row is aligned along a common baseline.

By default, text is aligned in the middle of the cell.

This tag is valid only within a row in a table, that is, you must use a TR tag before using TD. All attributes are optional. The end tag is optional.

TEXTAREA

<TEXTAREA
COLS=n
NAME=name
ROWS=n>

Creates a multiple-line text entry control in which the user can enter and edit text.

COLS=n
Sets the width, in characters, of the text area.
NAME=n
Sets the name of the text area. This name is used when the tag is used within a FORM tag.
ROWS=n
Sets the height, in characters, of the text area.

The end tag is required. Any text between the start and end tags is used as the initial value for the control.

TFOOT

<TFOOT>

Defines the table footer. Use this tag to distinguish the rows in the table footer from those in the header or main body of the table.

The table footer is optional, but if given only one footer is allowed. The TFOOT tag is valid only within a table; you must use a TABLE tag before using this tag. The end tag is optional.

Example

<TABLE>
<TBODY>
    <TR>
    ...
    </TR>
<TFOOT>
    <TR>
    ...
    </TR>
</TABLE>

TH

<TH
ALIGN=align-type
BACKGROUND=url
BGCOLOR=color
BORDERCOLOR=color
BORDERCOLORLIGHT=color
BORDERCOLORDARK=color
COLSPAN=n
NOWRAP=NOWRAP
ROWSPAN=n
VALIGN=align-type>

Creates a row or column heading in a table. The tag is similar to the TD tag but emphasizes the text in the cell to distinguish it from text in TD cells.

ALIGN=align-type
Specifies the alignment of text in the cell. The align-type can be one of these values:
LEFT Text is left-aligned.
CENTER Text is centered.
RIGHT Text is right-aligned.

By default, text is centered.

BACKGROUND=url
Specifies a background picture. The picture is tiled behind the text and graphics in the table, table head, or table cell.
BGCOLOR=color
Sets background color. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
BORDERCOLOR=color
Sets border color and must be used with the BORDER attribute. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
BORDERCOLORLIGHT=color
Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORDARK, and must be used with the BORDER attribute. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
BORDERCOLORDARK=color
Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORLIGHT, and must be used with the BORDER attribute. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
COLSPAN=n
Number of table columns this cell spans.
NOWRAP=NOWRAP
Prevents word wrapping with the cell. Lines of text appear as given in the HTML document.
ROWSPAN=n
Number of table rows this cell spans.
VALIGN=align-type
Specifies that the vertical alignment of text in the table. The align-type can be one of these values:
TOP Text is aligned with the top of each cell.
MIDDLE Text is aligned in the middle of each cell.
BOTTOM Text is aligned with the bottom of each cell.
BASELINE Text in adjoining cells in a row is aligned along a common baseline.

By default, text is aligned in the middle of the cell.

This tag is valid only within a row in a table, that is, you must use a TR tag before using TH. All attributes are optional. The end tag is optional.

THEAD

<THEAD>

Defines the table header. Use this tag to distinguish the rows in the table header from those in the footer or main body of the table.

The table header is optional, but if given only one header is allowed. The THEAD tag is valid only within a table; you must use a TABLE tag before using this tag. The end tag is optional.

Example

<TABLE>
<THEAD>
    <TR>
    ...
    </TR>
<TBODY>
    <TR>
    ...
    </TR>
</TABLE>

TITLE

<TITLE>

Specifies a title for the document. Internet Explorer uses this for the window caption.

This tag is valid only within the HEAD tag. The end tag is required.

Example

<HEAD>
<TITLE>"Welcome To Internet Explorer!"</TITLE> 
</HEAD>

TR

<TR
ALIGN=align-type
BACKGROUND=url
BGCOLOR=color
BORDERCOLOR=color
BORDERCOLORLIGHT=color
BORDERCOLORDARK=color
VALIGN=align-type>

Creates a row in a table.

ALIGN=align-type
Specifies the alignment of text in the cells in the row. The align-type can be one of these values:
LEFT Text is left-aligned.
CENTER Text is centered.
RIGHT Text is right-aligned.

By default, text is centered.

BACKGROUND=url
Specifies a background picture. The picture is tiled behind the text and graphics in the table, table head, or table cell.
BGCOLOR=color
Sets background color. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
BORDERCOLOR=color
Sets border color and must be used with the BORDER attribute. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
BORDERCOLORLIGHT=color
Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORDARK, and must be used with the BORDER attribute. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
BORDERCOLORDARK=color
Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of BORDERCOLORLIGHT, and must be used with the BORDER attribute. The color is either a hexadecimal, red-green-blue color value or a predefined color name. See Color.
VALIGN=align-type
Specifies that the vertical alignment of text in the cells of the row. The align-type can be one of these values:
TOP Text is aligned with the top of each cell.
MIDDLE Text is aligned in the middle of each cell.
BOTTOM Text is aligned with the bottom of each cell.
BASELINE Text in adjoining cells in a row is aligned along a common baseline.

By default, text is aligned in the middle of the cell.

TT

<TT>

Renders text in fixed-width type.

Example

<TT>Here's some plain text.</TT> 

U

<U>

Renders text underlined.

Example

<U>This text has a line under it.</U>

UL

<UL>

Draws lines of text as a bulleted list. Specifies that the following block consists of individual items, each beginning with an LI tag. The items are bulleted.

Example

<UL>
    <LI>This is the first bulleted item in the list.
    <LI>And this is the second bulleted item in the list.
</UL> 

VAR

<VAR>

Renders text in a small fixed-width type.

Example

<VAR>Here's some plain text.</VAR> 

WBR

Inserts a soft linebreak in a block of NOBR text.

Example

<NOBR> This line of text will not break, no matter how narrow the window gets.<WBR> This one, however<WBR>, will.</NOBR> 

XMP

<XMP>

Renders text in fixed-width type.

Example

<XMP>Here's some plain text.</XMP> 

[Previous] [Contents] [Home] [Index]