Master's Referenceo To HTML 4.0-21-70
Master's Referenceo To HTML 4.0-21-70
Common: No
Sample: Specifies the character on which cell contents
will align, if ALIGN=“CHAR”. If you omit CHAR=,
<CODE TITLE=”C Code”>exit(1);</CODE>
C
<COL ID=“123”>
Attribute Information
SPAN=“n”
’
Standard: HTML 4
Specifies how text within the table columns Common: No
will line up with the edges of the table cells, or Sample:
E
Standard: HTML 4
Common: No STYLE=“…”
Sample:
Specifies Style Sheet commands that apply to
S
Common: No
Sample:
<COL STYLE=”background: black”>
M
<COLGROUP> 23 1
TITLE=“…” <COLGROUP>
Specifies text assigned to the tag. You might Specifies characteristics for a group of table
use this attribute for context-sensitive help columns.
within the document. Browsers may use this to
show tool tips over the table column. Standard: HTML 4
Common: No
Standard: HTML 4 Paired: Yes
Common: No Sample:
Sample:
<TABLE>
<COL TITLE=”Table column”> <COLGROUP VALIGN=”TOP”>
<COL ALIGN=”RIGHT”>
WIDTH=“n” <COL ALIGN=”CENTER”>
Specifies the horizontal dimension of a column <TR>
(in pixels or as a percentage). Special values of <TD>This cell is aligned top and
right</TD>
“0*” force the column to the minimum
<TD>This cell is aligned top and
required width, and “2*” requires that the col-
centered</TD>
umn receive proportionately twice as much </TR>
space as it otherwise would. </TABLE>
Standard: HTML 4
Common: No Attribute Information
Sample:
ALIGN=“{LEFT, RIGHT, CENTER,
<COL WIDTH=”100”>
JUSTIFY, CHAR}”
VALIGN=“{TOP, BOTTOM, BASELINE, Specifies how text within the table columns
MIDDLE}” lines up with the edges of the table cells, or if
Vertically positions the contents of the table ALIGN=CHAR, on a specific character (the deci-
column. VALIGN=”TOP” positions the contents mal point).
flush with the top of the column. VALIGN= Standard: HTML 4
”BUTTON” positions the contents flush with the Common: No
bottom. VALIGN=”CENTER” positions the con- Sample:
tents at the center of the column. VALIGN=
<COLGROUP ALIGN=”CENTER”>
”BASELINE” aligns the contents with the base-
line of the current text font. CHAR=“…”
Standard: HTML 4 Specifies the character on which cell contents
Common: No align, if ALIGN=”CHAR”. If you omit CHAR=, the
Sample:
default value is the decimal point in the speci-
<COL VALIGN=”TOP”> fied language.
Other Attributes Standard: HTML 4
Common: No
This tag also accepts the lang, dir, onClick, Sample:
onDblClick, onMouseDown, onMouseUp,
<COLGROUP ALIGN=”CHAR” CHAR=”,”>
onMouseOver, onMouseMove, onMouseOut,
onKeyPress, onKeyDown, and onKeyUp attributes.
See the Element-Independent Attributes section
of this reference for definitions and examples.
24 <COLGROUP>
Common: No
Specifies the number of characters from the Sample:
left at which the alignment character appears.
<COLGROUP TITLE=”Column Group”>
C
Standard: HTML 4
Common: No WIDTH=“n”
Sample:
N
ID=”…”
requires that the column receive proportion-
Assigns a unique ID selector to an instance of ately twice as much space as it otherwise
R
<COL ALIGN=”RIGHT”>
<COLGROUP ID=“123”>
VALIGN=“{TOP, BOTTOM, BASELINE,
E
SPAN=“n” MIDDLE}”
Indicates how many consecutive columns exist Vertically positions the contents of the table
R
in the column group and to which columns column. VALIGN=”TOP” positions the contents
the specified attributes apply. flush with the top of the column. VALIGN=
”BOTTOM” positions the contents flush with the
Standard: HTML 4
bottom. VALIGN=”CENTER” positions the con-
Common: No
Sample: tents at the vertical center of the column.
S
STYLE=“…” Common: No
Sample:
R
Common: No
Sample: This tag also accepts the lang, dir, onClick,
onDblClick, onMouseDown, onMouseUp,
T
Specifies text assigned to the tag. You might of this reference for definitions and examples.
use this attribute for context-sensitive help
A
<COMMENT> ID=“…”
D </DL>
STYLE=“…”
Specifies Style Sheet commands that apply to
<DD> the definition.
Contains a definition in a definition list. Use Standard: HTML 4
this tag inside <DL> tags. This tag can contain Common: No
block level elements. Sample:
<DEL> ID=“…”
E
Indicates text marked for deletion in the docu- Assigns a unique ID selector to an instance of
ment. May be either block-level or inline, as the tag. When you then assign a style to that
C
Common: No
Paired: Yes Common: No
Sample: Sample:
<DEL ID=“123”>WWW stands for World Wide
E
Standard: HTML 4
Common: No <DEL STYLE=”background: blue;
color: white”>ESP stands for
E
Sample:
extra-sensory perception.</DEL>
<DEL CITE=”http://www.w3.org/”>HTML 3.0 was
used for 10 years.</DEL> TITLE=“…”
R
1997, at 8:30 AM, in U.S. Mountain Time (7 onKeyPress, onKeyDown, and onKeyUp attributes.
hours from Greenwich time). This time could See the Element-Independent Attributes section
also be presented as 1997-07-14T08:30:00Z. of this reference for definitions and examples.
S
Standard: HTML 4
Common: No
Sample: <DFN>
A
Common: No
Causes the list to appear in a compact format. Sample:
This attribute probably will not affect the
<DIR TITLE=”Directory List”>
C
ID=”…”
Assigns a unique ID selector to an instance of <DIV>
E
the <dir> tag. When you then assign a style to Indicates logical divisions within a document.
that ID selector, it affects only that one You can use these to apply alignment, line-
instance of the <dir> tag. wrapping, and particularly Style Sheet attrib-
F
<LI>Thingie 1 Common: No
<LI>Thingie 2 Paired: Yes
</DIR> Sample:
STYLE=“…” <DIV ALIGN=”CENTER” STYLE=”background:
blue”>
Specifies Style Sheet commands that apply to
S
Common: No
Sample: Attribute Information
R
Common: No ID=”…”
Sample:
Assigns a unique ID selector to an instance of
<DIV ALIGN=”RIGHT”> the <DIV> tag. When you then assign a style to
Look over here!</DIV> that ID selector, it affects only that one instance
<DIV ALIGN=”LEFT”>
of the <DIV> tag.
Now, look over here!</DIV>
Standard: HTML 4
CLASS=“…” Common: No
Indicates which style class applies to the <DIV> Sample:
element. <DIV ID=“123”>
Standard: HTML 4 NOWRAP
Common: No
Sample: Disables line-wrapping for the section.
<DIV CLASS=”casual”> Standard: Netscape Navigator
Common: No
DATAFLD=“…” Sample:
\
Selects a column from a previously identified <HR>
source of tabulated data (see the DATASRC= <DIV ALIGN=”LEFT” NOWRAP>
attribute). The contents of this section will not
automatically wrap as you size the window.
Standard: Internet Explorer 4 </DIV><HR>
Common: No
Sample:
<DIV DATASRC=”#data_table”> STYLE=“…”
<DIV DATAFLD=”name”></DIV>
</DIV> Specifies Style Sheet commands that apply to
the contents within the <DIV> tags.
DATAFORMATAS=“{TEXT, HTML, NONE}”
Standard: HTML 4
Indicates how tabulated data formats within Common: No
the <DIV> element. Sample:
Standard: Internet Explorer 4 <DIV STYLE=”background: red”>
Common: No
Sample: TITLE=“…”
<DIV DATAFORMATAS=”HTML” Specifies text assigned to the tag. You might use
DATASRC=”#data_table”> this attribute for context-sensitive help within
the document. Browsers may use this to show
DATASRC=“…” tool tips over the contents of the <DIV> tags.
Specifies the source of data for data binding. Standard: HTML 4
Standard: Internet Explorer 4 Common: No
Common: No Sample:
Sample: <DIV TITLE=”Title” CLASS=”casual”>
<DIV DATASRC=”#data_table”>
30 <DIV>
Sample:
This tag also accepts the lang, dir, onClick,
onDblClick, onMouseDown, onMouseUp, <DL COMPACT>…
</DL>
C
of this reference for definitions and examples. Assigns a unique ID selector to an instance of
the <DD> tag. When you then assign a style to
that ID selector, it affects only that one instance
<DL> of the <DD> tag.
E
Contains the <DT> and <DD> tags that form the Standard: HTML 4
term and definition portions of a definition list. Common: No
R
Sample:
Standard: HTML 2
Common: Yes <DL ID=“123”>
E
CLASS=“…” Common: No
Sample:
Indicates which style class applies to the <DL>
element. <DL STYLE=”background: red”>
Common: No
Sample: Specifies text assigned to the tag. You might
use this attribute for context-sensitive help
<DL CLASS=”casual”>
’
<DT> Standard:
Common:
HTML 4
No
Contains the terms inside a definition list. Sample:
Place the <DT> tags inside <DL> tags. <DT STYLE=”background: red”>
Standard: HTML 2
TITLE=“…”
Common: Yes
Paired: Yes, optional Specifies text assigned to the tag. You might
Sample: use this attribute for context-sensitive help
<DL><DT>Hygiene within the document. Browsers may use this to
<DD>Always wash your hands before show tool tips over the definition term.
preparing meat.</DL>
Standard: HTML 4
Common: No
Attribute Information Sample:
ID=”…”
Assigns a unique ID selector to an instance of
<EM>
the <DT> tag. When you then assign a style to Makes the text stand out. Browsers usually do
that ID selector, it affects only that one this with italic or boldface.
instance of the <DT> tag. Standard: HTML 2
Standard: HTML 4 Common: Yes
Common: No Paired: Yes
Sample: Sample:
Common: No <EMBED>
E
Sample:
Places an embedded object into a document.
Did you say my house was on
<EM CLASS=”casual”>FIRE?!</EM> Examples of embedded objects include MIDI
C
Common: No
Sample:
Paired: No
I have complained <EM ID=“123”>ten</EM> Sample:
E
Specifies text assigned to the tag. You might <EMBED SRC=”st.ocx” ACCESSKEY=”E”>
use this attribute for context-sensitive help
S
This tag also accepts the lang, dir, onClick, <IMG> tag.
onDblClick, onMouseDown, onMouseUp,
ALIGN=”TEXTTOP” or ALIGN=”TOP” lines up the top
onMouseOver, onMouseMove, onMouseOut,
S
of this reference for definitions and examples. of the current text font. ALIGN=”ABSBOTTOM” lines
M
<EMBED> 33 1
WIDTH=“n” ID=“…”
E
how to measure dimensions.) style to that ID selector, it affects only that one
instance of the <FIELDSET> tag.
Standard: Netscape Navigator
Common: No Standard: HTML 4
N
Sample: Common: No
Sample:
<EMBED SRC=”cartoon.avi” WIDTH=”50”>
<FIELDSET ID=“123”>now!</FIELDSET>
E
Other Attributes
STYLE=“…”
This tag also accepts the lang, dir, onClick,
R
F TITLE=“…”
E
Paired: Yes
Sample: <FIELDSET TITLE=”Personal data fields”>
Other Attributes
’
<FORM …>
<FIELDSET>
This tag also accepts the lang, dir, onClick,
..logically related field elements…
R
Specifies the explicit or relative location of the in the form of an environment variable
form processing CGI application. (QUERY_STRING). When you use METHOD=POST, the
Standard: HTML 2 form data is given to the form processor as the
E
“application/x-www-form-urlencoded”. Use
the value “multipart/form-data” when the <FORM METHOD=POST ACTION=”/cgi-bin/ff.pl”
returned document includes files. NAME=”ff”>
E
ACTION=”/stat-collector.cgi”> Common: No
Sample:
ID=”…”
<FORM STYLE=”background: red”>
A
MARGINWIDTH=”n” SRC=“URL”
E
Specifies the horizontal dimension (in pixels) Specifies the relative or absolute location of a
of the left and right margins in a frame. document that you want to load within the
C
defined frame.
Standard: HTML 4
Common: No Standard: HTML 4
Sample: Common: Yes
N
Sample:
<FRAME SRC=”dogs.html” MARGINWIDTH=10>
<FRAME NAME=”main” SRC=”intro.html”>
NAME=”…”
E
Common: Yes
Sample:
Sample:
<FRAMESET COLS=”*,70”>
<FRAME SRC=”/cgi-bin/weather.cgi”
E
<FRAME SRC=”frames/body.html”
NAME=”weather”>
NAME=”body”>
NORESIZE <FRAME SRC=”frames/side.html”
R
NAME=”side”>
Makes a frame’s dimensions unchangeable. </FRAMESET>
Otherwise, if a frame’s borders are visible, visi-
tors can resize the frame by selecting a border Attribute Information
and moving it with the mouse.
S
Standard: HTML 4
BORDER=”n”
Common: Yes Specifies the thickness of borders (in pixels)
Sample:
’
NORESIZE SCROLLING=NO>
SCROLLING={YES, NO, AUTO} Standard: Netscape Navigator
Common: No
E
Common: Yes
Sample:
<FRAME NAME=”titleimg” SRC=”title.html”
A
SCROLLING=NO>
M
<FRAMESET> 39 1
Specifies the number and dimensions of the Set ROWS= to a comma-separated list of numbers
vertical frames within the current frameset. or percentages to indicate the height of each
frame. Use the asterisk (*) to represent a vari-
Set COLS= to a comma-separated list of numbers able height. A frame of variable height fills the
or percentages to indicate the width of each space remaining after the browser formats
frame. Use the asterisk (*) to represent a vari- space for the other frames (<FRAMESET
able width. A frame of variable width fills the ROWS=”100,400,*”>).
space left over after the browser formats space
for the other frames (<FRAMESET Setting ROWS= to a comma-separated list of per-
COLS=”100,400,10% *”>). centages allows you to control the ratio of
frame vertical space relative to the space avail-
Setting COLS= with percentage values controls able within the browser (<FRAMESET
the ratio of frame horizontal space relative to the ROWS=”10%,*”>).
amount of space available within the browser
(<FRAMESET COLS=”10%,*”>). You cannot use ROWS= and COLS= in the
same tag.
You cannot use COLS= and ROWS= in the
same tag. Standard: HTML 4
Common: Yes
Standard: HTML 4 Sample:
Common: Yes
Sample: <FRAMESET ROWS=”*,100,*”>
<FRAME SRC=”top.html” NAME=”top”>
<FRAMESET COLS=”*,100,*”> <FRAME SRC=”middle.html” NAME=”middle”>
<FRAME SRC=”left.html” NAME=”left”> <FRAMESET COLS=2>
<FRAME SRC=”middle.html” NAME=”middle”> <FRAME SRC=”bottom1.html” NAME=”left”>
<FRAMESET ROWS=2> <FRAME SRC=”bottom2.html” NAME=”right”>
<FRAME SRC=”top.html” NAME=”top”> </FRAMESET>
<FRAME SRC=”bottom.html” </FRAMESET>
NAME=”bottom”>
</FRAMESET> Other Attributes
</FRAMESET> This tag also accepts the onload and onunload
attributes. See the Element-Independent
Attributes section of this reference for defini-
tions and examples.
40 <HN>
H
<H1 CLASS=”casual” ALIGN=LEFT>
E
River Tours</H1>
ID=”…”
C
numbered 1–6, with <H1> representing the instance of the <Hn> tag.
heading for the main heading in the document Standard: HTML 4
and <H3> representing a heading for a nested Common: No
E
care, you and your new bird will have <H1 STYLE=”background: red”>
a lasting, happy relationship.
<H2>Feeding</H2> TITLE=“…”
R
Standard: HTML 4
ter of a document. Common: No
Sample:
Standard: HTML 3.2; deprecated
’
Standard:
Common:
HTML 4
No
<HEAD>
Sample:
A
Draws horizontal lines (rules) in your docu- Specifies the color of the line. The color name
ment. This is useful for visually separating doc- can substitute for the hexadecimal RGB values.
ument sections. Standard: Internet Explorer. Style
Sheets provide equivalent
Standard: HTML 2
functionality.
Common: Yes
Common: No
Paired: No
Sample:
Sample:
<HR COLOR=#09334C>
<H2>Birthday Colors</H2>
<HR ALIGN=LEFT WIDTH=”60%”>
42 <HR>
in HTML 4 in favor of
Assigns a unique ID selector to an instance of Style Sheets
the <HR> tag. When you then assign a style to Common: Yes
C
Specifies that the browser not shade the line. Specifies text assigned to the tag. You might
Standard: HTML 3.2 use this attribute for context-sensitive help
Common: Yes within the document. Browsers may use this to
E
Specifies the thicknes of the line (in pixels). This tag also accepts the onClick, onDblClick,
onMouseDown, onMouseUp, onMouseOver,
Standard: HTML 3.2; deprecated onMouseMove, onMouseOut, onKeyPress,
in HTML 4 in favor of onKeyDown, and onKeyUp attributes. See the
Style Sheets Element-Independent Attributes section of this
S
Common: Yes
reference for definitions and examples.
Sample:
<HR SIZE=10>
’
<HTML>
STYLE=“…”
R
<BODY>
Specifies the length of the line. You can specify <H1>Is this working?</H1>
the value with an absolute number of pixels or </BODY>
A
CLASS=“…”
<IFRAME>
Indicates which style class applies to the
<I> element. Creates floating frames within a document.
Floating frames differ from normal frames
Standard: HTML 4 because they are independently manipulable
Common: No elements within another HTML document.
Sample:
Standard: HTML 4
This mouse is <I CLASS=”casual”> Common: No
enhanced</I> Paired: Yes
ID=”…” Sample:
Common: No
Indicates the thickness of a border around a Sample:
floating frame (in pixels).
<IFRAME SRC=”joe.html” NAME=”Joe”
C
<IFRAME SRC=”joe.html” NAME=”Joe” Indicates the size (in pixels) of left and right
BORDER=5> margins within the floating frame.
E
Common: No ID=”…”
Sample: Assigns a unique ID selector to an instance of
F
<IFRAME SRC=”joe.html” NAME=”Joe” the <IFRAME> tag. When you then assign a style
BORDERCOLOR=#5A3F2E> to that ID selector, it affects only that one
instance of the <IFRAME> tag.
E
FRAMEBORDER={0,1}
Standard: HTML 4
Indicates whether the floating frame has visi- Common: No
R
<IFRAME SRC=”main.html” NAME=”main” Specifies the size of the top and bottom mar-
FRAMEBORDER=0> gins (in pixels) within the floating frame.
’
Common: No
Sample: MARGINWIDTH=”n”
T
<IFRAME SRC=”joe.html” NAME=”Joe” Specifies the size of the left and right margins
FRAMESPACING=10> (in pixels) within the floating frame.
HEIGHT=”n” Standard: HTML 4
S
Common: No
Specifies the vertical dimension (in pixels) of Sample:
the floating frame.
A
Specifies that the floating frame cannot resize. <IFRAME SRC=”joe.html” NAME=”Joe”
WIDTH=500 HEIGHT=200>
Because the HTML 4 specification forbids re-
sizable inline frames, this attribute is only rele- VSPACE=n
vant to Internet Explorer.
Indicates the size (in pixels) of top and bottom
Standard: Internet Explorer margins within the floating frame.
Common: No
Sample: Standard: Internet Explorer 4
Common: No
<IFRAME SRC=”joe.html” NAME=”Joe” Sample:
NORESIZE>
<IFRAME SRC=”joe.html” NAME=”Joe”
SCROLLING={YES, NO} HSPACE=10 VSPACE=10>
Indicates whether the floating frame has Other Attributes
scrollbars.
This tag also accepts the lang, dir, onClick,
Standard: HTML 4 onDblClick, onMouseDown, onMouseUp,
Common: No onMouseOver, onMouseMove, onMouseOut,
Sample: onKeyPress, onKeyDown, and onKeyUp attributes.
<IFRAME SRC=”top.html” SCROLLING=NO> See the Element-Independent Attributes section
of this reference for definitions and examples.
SRC=“URL”
Specifies the relative or absolute location of the
document file to load in the floating frame.
<IMG>
Standard: HTML 4 Places an inline image in a document. You can
Common: No use the attributes ISMAP= and USEMAP= with the
Sample: <IMG> tag to implement image maps.
RIGHT, the image appears flush to the right edge Common: Yes
of the document, and the text appears to its Sample:
left. Using LEFT produces the opposite effect.
<IMG SRC=”portrait.jpg” BORDER=2>
E
first line of text after the <IMG> tag to the top of Indicates which style class applies to the <IMG>
the image. BOTTOM (the default) aligns the bot- element.
tom of the image to the baseline of the text.
Standard: HTML 4
E
HTML 3.2 added LEFT and RIGHT to the list of <IMG CLASS=”casual” SRC=”dots.gif”>
attribute values.
CONTROLS
E
DATAFLD=“…”
<IMG SRC=”red_icon.gif” ALIGN=LEFT>
It’s about time for volunteers to Indicates a column in previously identified
’
Common: No
Provides a textual description of images, Sample:
which is useful for visitors who have text-only
E
browsers. Some browsers may also display the <IMG SRC=”thing.gif” DATAFLD=”color”>
ALT= text as a floating message when the visitor DATASRC=“…”
places the mouse pointer over the image.
T
DYNSRC=“URL” ISMAP
Specifies the relative or absolute location of a Indicates that the graphic image functions as a
dynamic image (VRML, video file, and so on). clickable image map. The ISMAP= attribute in-
structs the browser to send the pixel coordi-
Standard: Internet Explorer 2
Common: No nates to the server image map CGI application
Sample: when a visitor selects the image with the mouse
pointer. When HTML 2 established the ISMAP=
<IMG DYNSRC=”foo.avi”> attribute, image maps were implemented in a
HEIGHT=”n” server-side fashion only. Now, client-side image
maps are more popular (see the USEMAP=
Specifies the vertical dimension of the image attribute).
(in pixels). If you don’t use this attribute, the
image appears in the default height. Use this Standard: HTML 2
Common: Yes
attribute, along with the WIDTH= attribute, to
Sample:
fit an image within a space. You can fit a large
image into a smaller space, and you can spread <A HREF=”/cgi-bin/image map/mymap”>
a smaller image. Some Web designers use the <IMG ISMAP SRC=”images/main.gif”></A>
WIDTH= and HEIGHT= attributes to spread a single LOWSRC=“URL”
pixel image over a large space to produce the
effect of a larger solid-color image. Indicates the absolute or relative location of a
lower resolution version of an image.
Standard: HTML 3.2
Common: Yes Standard: Netscape Navigator
Sample: Common: No
Sample:
<IMG SRC=”images/smiley.jpg” WIDTH=50
HEIGHT=50> <IMG SRC=”bigpic.jpg” LOWSRC=”lilpic.jpg”>
Standard: HTML 4
Common: No
Sample:
<IMG SRC=”grapes.jpg” ID=“123”>
48 <IMG>
SRC=“URL” USEMAP=“URL”
E
Specifies the relative or absolute location of a Specifies the location of the client-side image
file that contains the graphic image you want map data (see the <MAP> tag). Because the <MAP>
C
loaded the file. START=MOUSEOVER starts playback VRML world to embed in a document.
when a visitor places the mouse pointer over
Standard: Internet Explorer 4
the image.
F
Common: No
Standard: Internet Explorer 2 Sample:
Common: No <IMG VRML=”vr/myroom.vrml”>
E
Sample:
VSPACE=”n”
<IMG DYNSRC=”ship.vrm” START=MOUSOVER>
R
WIDTH=”n”
Specifies text assigned to the tag. You might
use this attribute for context-sensitive help Specifies the horizontal dimension of the
E
within the document. Browsers may use this to image (in pixels). If you don’t use this
show tool tips over the image. attribute, the image appears in the default
width. Use this attribute, along with the
T
Standard: HTML 4
HEIGHT= attribute, to fit an image within a
Common: No
Sample: space. You can fit a large image into a smaller
space, and you can spread a smaller image.
S
DATASRC=“…” NAME=“…”
E
Specifies the location of tabular data to be Gives a name to the value you pass to the form
bound. processor. For example, if you collect a person’s
C
DISABLED=“…” Sample:
Disables an instance of the input method so Enter your phone number: <INPUT TYPE=”text”
R
DISABLED> Common: No
Sample:
ID=”n”
Hair color:
E
Sample:
Age:
<INPUT TYPE=TEXT NAME=”age” ID=“123”> <INPUT TYPE=TEXT NAME=”desc”
’
Contrary to the SIZE= attribute, MAXLENGTH= characters). This applies only to input methods
does not affect the size of the input field of type TEXT or PASSWORD. HTML 4 specifies
shown on the screen. size measurements in pixels for all other input
T
Standard: HTML 2
Common: Yes
Phone: <INPUT TYPE=TEXT NAME=”phone”
Sample:
MAXLENGTH=11>
A
SRC=“URL” TYPE=“…”
Implements a graphic image for a submit but- Indicates the kind of input method to use.
ton. For this to work, indicate TYPE=IMAGE. Valid values are TEXT, PASSWORD, RADIO,
CHECKBOX, SUBMIT, RESET, IMAGE, FILE, HIDDEN,
Standard: HTML 3.2
Common: Yes and BUTTON.
Sample: TEXT produces a simple one-line text input field
<INPUT TYPE=IMAGE SRC=”/images/push- that is useful for obtaining simple data such as a
button.gif”> person’s name, a person’s age, a dollar amount,
and so on. To collect multiple lines of text, use
STYLE=“…” the <TEXTAREA> tag.
Specifies Style Sheet commands that apply to PASSWORD gives the visitor a simple one-line text
the input element. input field similar to the TEXT type. When visi-
Standard: HTML 4 tors enter data into the field, however, they do
Common: No not see what they type.
Sample:
TYPE=RADIO produces a small radio button that
<INPUT TYPE=RADIO NAME=”food” can be turned on and off. Use radio buttons
VALUE=”1” STYLE=”background: red”> when you want a visitor to select only one of
TABINDEX=“n” several items. For multiple-value selections, see
the CHECKBOX type or the <SELECT> tag.
Specifies where the input method appears in
the tab order. For example, TABINDEX=3 places the SUBMIT produces a button that, when selected,
cursor at the input element after the visitor submits all the name-value pairs to the form
presses the Tab key three times. processor.
Standard: Internet Explorer RESET sets all the input methods to their empty
Common: No or default settings.
Sample:
TYPE=IMAGE replaces the submit button with an
Credit card number: image. The behavior of this value is identical
<INPUT TYPE=TEXT NAME=”ccard” to that of the submit button, except that the
TABINDEX=5> x,y coordinates of the mouse position over the
TITLE=“…” image when selected are also sent to the form
processor.
Specifies text assigned to the tag. You might
use this attribute for context-sensitive help BUTTON creates a button with no specific behav-
within the document. Browsers may use this to ior that can interact with scripts.
show tool tips over the input method. Standard: HTML 2
Standard: HTML 4 Common: Yes
Common: No Sample:
Sample: <FORM METHOD=POST ACTION=”/cgi-
<INPUT TYPE=RADIO NAME=”cc” bin/thingie”>
VALUE=”visa” TITLE=”Visa”> Name: <INPUT TYPE=TEXT NAME=”name”><BR>
Password: <INPUT TYPE=PASSWORD
NAME=”pass”><BR>
52 <INPUT>
Standard: HTML 4
Common: No
Indicates the relative or absolute location of a
Sample:
client-side image map to use with the form.
E
Sample:
when <INPUT> is set to TYPE=RADIO or CHECKBOX.
<INS CLASS=”joeadd”>POP stands for Post
Standard: HTML 2
E
Office Protocol</INS>
Common: Yes
Sample: DATETIME=“…”
R
<INPUT TYPE=HIDDEN NAME=”id” Indicates the date and time in precisely this for-
VALUE=”123”> mat: YYYY-MM-DDThh:mm:ssTZD. For example,
Other Attributes 1997-07-14T08:30:00-07:00 indicates July 14,
1997, at 8:30 AM, in U.S. Mountain Time (7 hours
This tag also accepts the lang, dir, onfocus, from Greenwich time). This time could also be
S
Common: No
onKeyPress, onKeyDown, and onKeyUp attrib-
Sample:
utes. See the Element-Independent Attributes
R
<INS> ID=”…”
Assigns a unique ID selector to an instance of
T
Common: No
Paired: Yes Standard: HTML 4
Sample: Common: No
A
Sample:
<P>HTTP stands for HyperText
<INS>Transfer</INS>Protocol</P>
M
<KBD> 53 1
K
text.</INS>
Other Attributes
This tag also accepts the lang, dir, onClick,
onDblClick, onMouseDown, onMouseUp,
onMouseOver, onMouseMove, onMouseOut,
<KBD>
onKeyPress, onKeyDown, and onKeyUp attributes. Specifies keyboard input within a document.
See the Element-Independent Attributes section
Standard: HTML 2
of this reference for definitions and examples.
Common: Yes
Paired: Yes
Sample:
<ISINDEX>
Press <KBD>CTRL+S</KBD> to save your
Inserts an input field into the document so document.
that visitors can enter search queries. The
queries then go to a CGI application indicated Attribute Information
by the ACTION= attribute.
Standard: HTML 2; deprecated in HTML CLASS=“…”
4 in favor of <FORM>
Indicates which style class applies to the <KBD>
Common: Yes
Paired: No element.
Sample: Standard: HTML 4
<ISINDEX PROMPT=”Keyword Search” Common: No
ACTION=”/cgi-bin/search.cgi”> Sample:
Now press the <KBD CLASS=”casual”>F4
</KBD> key!
54 <KBD>
ID=”…”
L
E
Common: No
Sample: Standard: HTML 4
Common: No
Press <KBD ID=“123”>F1</KBD> for help.
E
Paired: Yes
Sample:
STYLE=“…”
<LABEL FOR=”idname”>First Name</LABEL>
R
Common: No
Sample: ACCESSKEY=“…”
F
Common: No
Specifies text assigned to the tag. You might Sample:
use this attribute for context-sensitive help
R
within the document. Browsers may use this to <LABEL FOR=”idname” ACCESSKEY=H>
show tool tips over the keyboard text. CLASS=“…”
Standard: HTML 4 Indicates which style class applies to the
Common: No
<INPUT> element.
Sample:
S
Standard: HTML 4
Now press the <KBD
Common: No
TITLE=”Keyboard stuff”>F4</KBD> key.
Sample:
’
Standard: HTML 4
Common: No
Sample:
S
Common: No
Specifies the relative or absolute location of an Sample:
image file that the browser tiles as the back-
<LAYER SRC=”hawk.jpg” CLIP=”20%,20%”>
C
<H1>Hi there</H1></LAYER>
Standard: Netscape Navigator 4
BELOW=“…” Common: No
R
Sample:
Specifies the name of a layer below which the
current layer should appear. <LAYER SRC=”frame.gif” ABOVE=”bg”
NAME=”frame” WIDTH=200 HEIGHT=200>
E
</LAYER>
Standard: Netscape Navigator 4
BGCOLOR=“#RRGGBB” or “...” Common: No
R
Sample:
Specifies the background color of the layer. Use
either the hexadecimal RGB values or the color <LAYER LEFT=100 TOP=150>
name. This layer is at {100,150}
</LAYER>
Standard: Netscape Navigator 4
S
Common: No NAME=“…”
Sample:
Gives the layer a name by which other layer
’
</DIV> Common: No
</LAYER> Sample:
<LAYER SRC=”car.gif” NAME=”CarPic”
E
TOP=”n” <LEGEND>
Specifies the layer’s vertical position (in pixels) Specifies a description for a fieldset. Use inside
relative to the top edge of the parent layer. Use <FIELDSET> tags.
the LEFT= attribute for horizontal positioning.
Standard: HTML 4
Standard: Netscape Navigator 4 Common: No
Common: No Paired: Yes
Sample: Sample:
<LAYER LEFT=100 TOP=150> <FORM><FIELDSET>
This layer is at {100,150} <LEGEND VALIGN=TOP ALIGN=CENTER>
</LAYER> Test Grades For COOKING 101
</LEGEND>…
VISIBILITY={SHOW, HIDE, INHERIT}
</FORM>
Indicates whether the layer is initially visible.
VISIBILITY=SHOW indicates the layer is initially
visible. VISIBILITY=HIDE indicates the layer is Attribute Information
not initially visible. VISIBILITY=INHERIT indi-
cates the layer has the same initial visibility ALIGN={TOP, BOTTOM, LEFT, RIGHT}
attribute as its parent layer. Indicates whether the legend appears at the
Standard: Netscape Navigator 4 top, bottom, left, or right of the fieldset.
Common: No
Standard: HTML 4
Sample:
Common: No
<LAYER SRC=”grass.gif” Z-INDEX=1 Sample:
NAME=”Grass” VISIBILITY=SHOW>
<LEGEND ALIGN=TOP>
WIDTH=“n” Seattle Staff Directory
</LEGEND>
Specifies the horizontal dimension of the layer
(in pixels or as a percentage of the browser CLASS=“…”
window width). Indicates which style class applies to the
Standard: Netscape Navigator 4 <LEGEND> element.
Common: No Standard: HTML 4
Sample: Common: No
<LAYER SRC=”frame.gif” ABOVE=”bg” Sample:
NAME=”frame” WIDTH=200 HEIGHT=200> <LEGEND CLASS=”casual”>Hydrogen vs
Z-INDEX=”n” Oxygen</LEGEND>
Standard: HTML 4
<LEGEND STYLE=”background: red”> Common: No
Sample:
TITLE=“…”
E
<LI CLASS=”casual”>Dogs
Specifies text assigned to the tag. You might
use this attribute for context-sensitive help ID=n
R
within the document. Browsers may use this to Assigns a unique ID selector to an instance of
show tool tips over the legend. the <LI> tag. When you then assign a style to
Standard: HTML 4 that ID selector, it affects only that one instance
E
<LI ID=“123”>Bees</LI>
This tag also accepts the lang, dir, onClick,
onDblClick, onMouseDown, onMouseUp, STYLE=“…”
R
TITLE=“…”
menu (see the <MENU> tag), directory (see the
<dir> tag), and unordered (see the <UL> tag) Specifies text assigned to the tag. You might
R
Common: Yes
Paired: Yes, optional Standard: HTML 4
Sample: Common: No
T
Sample:
My favorite foods are:<UL>
<LI>Pepperoni Pizza <LI TITLE=”List Item”>Thingie
<LI>Lasagna
S
</UL>
item (see the <UL> tag) or the numbering for
each ordered list item (see the <OL> tag). If you
omit the TYPE= attribute, the browser chooses a
M
default type.
<LINK> 59 1
Valid TYPE values for unordered lists are DISC, within the <HEAD> section. For example, if
SQUARE, and CIRCLE. you access the current document by choosing
a hyperlink from the site’s home page, you can
Valid TYPE values for ordered lists are 1 for ara-
establish a relationship between the current
bic numbers, a for lowercase letters, A for upper-
document and the site’s home page (see the
case letters, i for lowercase roman numerals,
REL= attribute). At this time, however, most
and I for uppercase roman numerals.
browsers don’t use most of these relationships.
Standard: HTML 3.2 You can place several <LINK> tags within the
Common: Yes <HEAD> section of your document to define
Sample: multiple relationships.
<UL> With newer implementations of HTML, you
<LI TYPE=SQUARE>Food can also use the <LINK> tag to establish infor-
<OL>
mation about Cascading Style Sheets. Some
<LI TYPE=1>Spaghetti
<LI TYPE=1>Tossed Salad other relationships that the <LINK> tag defines
</OL> include the following:
</UL> CONTENTS: A table of contents.
VALUE=“…” INDEX: An index.
GLOSSARY: A glossary of terms.
Sets a number in an ordered list. Use this
COPYRIGHT: A copyright notice.
attribute to continue a list after interrupting it
NEXT: The next document in a series (use
with something else in your document. You
with REL=).
can also set a number in an ordered list with
PREVIOUS: The previous document in a series
the START= attribute of the <OL> tag.
(use with REV=).
Because unordered lists do not increment, the START: The first document in a series.
VALUE= attribute is meaningless when used HELP: A document offering help or more
with them. information.
Standard: HTML 3.2 BOOKMARK: A bookmark links to a important
Common: Yes entry point within a longer document.
Sample: STYLESHEET: An external Style Sheet.
ALTERNATE: Different versions of the same
<OL TYPE=1> document. When used with lang, ALTERNATE
<LI VALUE=5>Watch implies a translated document; when used
<LI>Compass with MEDIA, it implies a version for a differ-
</OL> ent medium.
Other Attributes Standard: HTML 2
This tag also accepts the lang, dir, onClick, Common: Yes
Paired: No
onDblClick, onMouseDown, onMouseUp,
Sample:
onMouseOver, onMouseMove, onMouseOut,
onKeyPress, onKeyDown, and onKeyUp attributes. <HEAD>
See the Element-Independent Attributes section <TITLE>Prices</TITLE>
of this reference for definitions and examples. <LINK REL=Top HREF=
”http://www.raycomm.com/”>
<LINK REL=Search HREF=
<LINK> ”http://www.raycomm.com/search.html”>
</HEAD>
Establishes relationships between the current
document and other documents. Use this tag
60 <LINK>
Attribute Information REL=Top defines the site home page or the top of
E
Indicates the relative or absolute location of of the site. REL=Glossary indicates the location
the resource you are establishing a relationship of a glossary resource. REL=Copyright indicates
to/from. the location of a copyright statement. REL=Next
N
preview mode
Establishes reverse relationships between the
Projection—for projectors
current document and other resources. One
R
Common: Yes
Sample: Sample:
<LINK MEDIA=SCREEN REL=”STYLESHEET” <LINK REV=made
’
HREF=”/global.css”> HREF=”mailto:[email protected]”>
NAME=“…”
R
TARGET=“…”
Specifies a name by which bookmarks, scripts, Specifies the name of a frame in which the ref-
and applets can reference the relationship. erenced link appears.
E
Sample: Sample:
<LINK REL=”Search” HREF=”/search.html” <LINK TARGET=”_blank” REL=”Home”
NAME=”Search”> HREF=”http://www.mememe.com/”>
S
REL=“…” TITLE=“…”
A
Defines the relationship you are establishing Specifies text assigned to the tag that can be
between the current document and another used for context-sensitive help within the doc-
resource. The HTML 3.2 specification includes ument. Browsers may use this to show tool tips.
M
Standard: HTML 4
Common:
Sample:
Yes
<LISTING> CLASS=“…”
Specifies preformatted text to include within a Indicates which style class applies to the
document. Unlike the <PRE> tags, the browser element.
does not interpret HTML tags within the Standard: HTML 4
<LISTING>tags. HTML 3.2 declared this tag Common: No
obsolete, so use <PRE> instead. Sample:
Standard: Obsolete <MAP CLASS=”casual” NAME=”simba”>
Common: Yes
Paired: Yes ID=“…”
Sample: Indicates an identifier to associate with the
The output from these reports is shown map. You can also use this to apply styles to
below. the object.
<LISTING>
Company Q1 Q2 Q3 Q4
Standard: HTML 4
—————- ——— ——— ———- ———-
Common: No
Widget Inc. 4.5m 4.6m 6.2m 4.5m
Sample:
Acme Widget 5.9m 10.2m 7.3m 6.6m <MAP ID=”123” NAME=”simba”>
West Widget 2.2m 1.3m 3.1m 6.1m
</LISTING>
62 <MAP>
Sample:
Standard: Internet Explorer
<MAP NAME=”housemap”> Common: No
. . . Sample:
E
the contents within the <MAP> tags. Indicates the type of scrolling. BEHAVIOR=
Standard: HTML 4 SCROLL scrolls text from one side of the marquee,
Common: No across, and off the opposite side. BEHAVIOR=
F
Specifies text assigned to the tag. You might Standard: Internet Explorer
use this attribute for context-sensitive help Common: No
within the document. Browsers may use this to Sample:
show tool tips. <MARQUEE DIRECTION=LEFT
Standard: HTML 4 BEHAVIOR=ALTERNATE>
S
DATAFLD=“…” HSPACE=”n”
Selects a column from a block of tabular data. Specifies the size of the margins (in pixels) to
the left and right of the marquee.
Standard: Internet Explorer 4
Common: No Standard: Internet Explorer
Sample: Common: No
Sample:
<MARQUEE DATASRC=”#data_table”
DATAFLD=”nitems”> <MARQUEE DIRECTION=LEFT HSPACE=25>
Check out our detailed product
DATAFORMATAS={TEXT, HTML, NONE} descriptions!</MARQUEE>
Specifies how items selected from tabular data ID=“…”
format within the document.
Assigns a unique ID selector to an instance of
Standard: Internet Explorer 4
the <MARQUEE> tag. When you then assign a
Common: No
Sample: style to that ID selector, it affects only that one
instance of the <MARQUEE> tag.
<MARQUEE DATASRC=”#data_table”
DATAFLD=”nitems” DATAFORMATAS=HTML> Standard: Internet Explorer 4
Common: No
DATASRC=“…” Sample:
Specifies the location of tabular data to be <MARQUEE ID=”3d4”>
bound within the document.
LOOP={n, INFINITE}
Standard: Internet Explorer 4
Common: No Controls the appearance of the marquee text.
Sample: Standard: Internet Explorer
<MARQUEE DATASRC=”#data_table” Common: No
DATAFLD=”nitems”> Sample:
<MARQUEE LOOP=5>
DIRECTION={LEFT, RIGHT}
December 12 is our big, all-day sale!
Indicates the direction in which the marquee </MARQUEE>
text scrolls. SCROLLAMOUNT=”n”
Standard: Internet Explorer
Indicates how far (in pixels) the marquee text
Common: No
Sample: shifts between redraws. Decrease this value for
a smoother (but slower) scroll; increase it for a
<MARQUEE DIRECTION=LEFT> faster (but bumpier) scroll.
Order opera tickets here!
</MARQUEE> Standard: Internet Explorer
Common: No
HEIGHT=”n” Sample:
Specifies the vertical dimension of the mar- <MARQUEE SCROLLAMOUNT=10
quee (in pixels). SCROLLDELAY=40>Plant a tree for Arbor Day!
</MARQUEE>
Standard: Internet Explorer
Common: No SCROLLDELAY=”n”
Sample:
Indicates how often (in milliseconds) the mar-
<MARQUEE WIDTH=300 HEIGHT=50> quee text redraws. Increase this value to slow
GO BEARS!</MARQUEE>
64 <MARQUEE>
scrolling action.
Defines a menu list. Use the <LI> tag to indi-
Standard: Internet Explorer
cate list items. Use <UL> instead of this depre-
Common: No
C
<LI>Guests
Specifies the size of the margins (in pixels) at </MENU>
the top and bottom of the marquee.
’
COMPACT
Standard: Internet Explorer Specifies that the menu list appear in a space-
R
Common: No
saving form.
Sample:
Standard: HTML 2; deprecated
<MARQUEE DIRECTION=LEFT VSPACE=25>
in HTML 4
E
<LI>Fruit Drink</LI>
Standard: Internet Explorer <LI>Orange Juice</LI>
Common: No <LI>Water</LI>
A
Sample: </MENU>
<MARQUEE WIDTH=300>
Go Bears!</MARQUEE>
M
<META> 65 1
ID=“…” <META>
Assigns a unique ID selector to an instance of Specifies information about the document to
the <MENU> tag. When you then assign a style to browsers, applications, and search engines.
that ID selector, it affects only that one Place the <META> tag within the document
instance of the <MENU> tag. head. For example, you can use the <META> tag
Standard: HTML 4 to instruct the browser to load a new docu-
Common: No ment after 10 seconds (client-pull), or you can
Sample: specify keywords for search engines to associ-
You’ll need the following:
ate with your document.
<MENU ID=“123”> Standard: HTML 2
<LI>Extra socks Common: Yes
<LI>Snack crackers Paired: No
<LI>Towel Sample:
</MENU>
<HEAD>
STYLE=“…” <TITLE>Igneous Rocks In North America
</TITLE>
Specifies Style Sheet commands that apply to <META HTTP-EQUIV=”Keywords”
the menu list. CONTENT=”Geology, Igneous, Volcanos”>
Standard: HTML 4 </HEAD>
Common: Yes
Sample: Attribute Information
<MENU STYLE=”background: black; color: CONTENT=“…”
white”>
Assigns values to the HTTP header field.
TITLE=“…” When using the REFRESH HTTP header, assign
Specifies text assigned to the tag. You might a number along with a URL to the CONTENT=
use this attribute for context-sensitive help attribute; the browser then loads the specified
within the document. Browsers may use this to URL after the specified number of seconds.
show tool tips over the menu list. Standard: HTML 2
Standard: HTML 4 Common: Yes
Common: No Sample:
Sample: <META HTTP-EQUIV=”Refresh”
<MENU TITLE=”Menu List”> CONTENT=”2; URL=nextpage.html”>
NAME=“…” WIDTH=“n”
E
Specifies the name of the association you are Indicates the horizontal dimension (in pixels
defining, such as Keywords or Description. . or as a percentage of the total width available)
C
of each column.
Standard: HTML 2
Common: Yes Standard: Netscape Navigator 4
Sample: Common: No
N
Sample:
<META NAME=”Keywords” CONTENT=
”travel,automobile”> <MULTICOL COLS=2 WIDTH=”30%”>
<META NAME=”Description” CONTENT=”The Nash
E
Sample:
Paired: Yes
Sample: <NOBR>This entire line of text will
remain on one single line in the
<MULTICOL COLS=2 GUTTER=10>
browser window until the closing
. . .
tag appears. That doesn’t happen
</MULTICOL>
S
COLS=“n” CLASS=“…”
R
Common: No
Sample: Standard: Netscape Navigator
Common: No
<MULTICOL COLS=4> Sample:
T
ID=“…”
S
Common: No
Sample:
ALIGN={LEFT, CENTER, RIGHT, TEXTTOP,
MIDDLE, TEXTMIDDLE, BASELINE, <OBJECT DATA=“shocknew.dcr”
C
CENTER will cause the embedded object to float for data and other implementation files.
between the edges of the window either to the Standard: HTML 4
R
rounding text.
Standard: HTML 4
ALIGN=TEXTBOTTOM aligns the bottom of the Common: No
R
ing text.
Standard: HTML 4
Standard: HTML 4; deprecated in favor
R
Common: No
of Style Sheets Sample:
Common: No
Sample: <OBJECT CLASS=”casual”
E
CODETYPE=”application/x-msword”>
<OBJECT DATA=“shocknew.dcr” </OBJECT>
TYPE=”application/director” WIDTH=288
T
<OBJECT
CLASSID=”http://www.raycomm.com/
M
bogus.class”>
<OBJECT> 69 1
DATA=“URL” Sample:
Specifies the absolute or relative location of the <OBJECT DATA=“shocknew.dcr”
embedded object’s data. TYPE=”application/director” WIDTH=288
HEIGHT=200 VSPACE=10 HSPACE=10>
Standard: HTML 4
Common: No HSPACE=“n”
Sample:
Specifies the size of the margins (in pixels) to
<OBJECT DATA=”/~fgm/goo.AVI”> the left and right of the embedded object.
</OBJECT>
Standard: HTML 4
DATAFLD=“…” Common: No
Sample:
Selects a column from a block of tabular data.
<OBJECT DATA=“shocknew.dcr”
Standard: Internet Explorer 4 TYPE=”application/director” WIDTH=288
Common: No HEIGHT=200 VSPACE=10 HSPACE=10>
Sample:
ID=“…”
<OBJECT DATA=”dataview.ocx”
DATASRC=”#data_table” Indicates an identifier to associate with the
DATAFLD=”datafld1”> embedded object. You can also use this to
apply styles to the object.
DATASRC=“…”
Standard: HTML 4
Specifies the location of tabular data to be Common: No
bound within the document. Sample:
Standard: Internet Explorer 4 <OBJECT DATA=“shocknew.dcr”
Common: No TYPE=”application/director” WIDTH=288
Sample: HEIGHT=200 VSPACE=10 HSPACE=10
<OBJECT DATA=”dataview.ocx” ID=”swave2”>
DATASRC=”#data_table”>
NAME=“…”
DECLARE Specifies the name of the embedded object.
Defines the embedded object without actually Standard: HTML 4
loading it into the document. Common: No
Standard: HTML 4 Sample:
Common: No <OBJECT CLASSID=”clsid:99B42120-6EC7-11CF-
Sample: A6C7-00AA00A47DD3” NAME=”Very Cool Thingie”>
<OBJECT CLASSID=”clsid:99B42120-6EC7-11CF- </OBJECT>
A6C7-00AA00A47DD3” DECLARE> SHAPES
</OBJECT>
Indicates that the embedded object has shaped
HEIGHT=“n” hyperlinks (that is, image maps).
Specifies the vertical dimension (in pixels) of Standard: HTML 4
the embedded object. Common: No
Standard: HTML 4 Sample:
Common: No <OBJECT DATA=”navbar.gif” SHAPES>
70 <OBJECT>
Common: No
Specifies a message that the browser displays Sample:
while the object is loading.
<OBJECT DATA=“shocknew.dcr”
C
USEMAP=“URL”
<OBJECT
STANDBY=”Please wait. Movie loading.” Indicates the relative or absolute location of a
WIDTH=100 HEIGHT=250> client-side image map to use with the embed-
E
</OBJECT> Common: No
Sample:
TABINDEX=“n”
<OBJECT USEMAP=”maps.html#map1”>
E
Standard: HTML 4
<OBJECT Common: No
CLASSID=”clsid:99B42120-6EC7-11CF-A6C7- Sample:
R
Common: No Common: No
Sample: Sample:
<OBJECT <OBJECT DATA=“shocknew.dcr”
E
Indicates which style class applies to the <OL> <OL TYPE=A START=F>
element. STYLE=“”…”
Standard: HTML 4 Specifies Style Sheet commands that apply to
Common: No
the ordered list.
Sample:
Standard: HTML 4
<OL CLASS=”casual”>
Common: Yes
<LI>Check engine oil
Sample:
<LI>Check tire pressures
<LI>Fill with gasoline <OL STYLE=”background: black; color:
<OL> white”>
COMPACT TITLE=“…”
Indicates that the ordered list appears in a Specifies text assigned to the tag. You might
compact format. This attribute may not affect use this attribute for context-sensitive help
the appearance of the list as most browsers do within the document. Browsers may use this to
not present lists in more than one format. show tool tips over the ordered list.
Standard: HTML 2, deprecated Standard: HTML 4
in HTML 4 Common: No
Common: No Sample:
Sample:
<OL TITLE=”Ordered list”>
<OL COMPACT>
TYPE=“…”
ID=“n”
Specifies the numbering style of the ordered
Assigns a unique ID selector to an instance of list. Possible values are 1 for arabic numbers, i
the <OL> tag. When you then assign a style to for lower case roman numerals, I for uppercase