This document describes tags used to design and implement interactive
forms on a web page.
This table:
Support: |
2.0,
3.0, 3.2 |
1.1+ |
1.0+ |
and these icons:
alert you to tags and attributes that are not supported by all
browsers.
<DL> list entries </DL>
<DL COMPACT> list entries </DL>
<DT> term
<DD> definition
The definition list tag introduces a definition list or glossary,
which is made up of term (DT) and definition (DD)
items. The </DT> and </DD> tags are
optional. Typically the definitions are indented under each term, with
no blank lines around them. If COMPACT was specified (and
the terms are short) the terms and definitions are on the same line.
Do not use multiple DD elements for the same DT
-- instead use BR within the DD.
A list heading (LH) may be included before the first
definition term.
<DIR> list entries </DIR>
<DIR COMPACT> list entries </DIR>
The directory list tag introduces a directory list, which is made
up of List Item (LI) tags and does not include bullets or
numbers before them. The items should be short so that they can be
arranged into columns. For a bulleted list use UL. For a
numbered list use OL. For a list without bullets or
numbers that is not arranged into columns use MENU. The
COMPACT attribute instructs the browser to reduce the
space occupied by the list.
In HTML 3.0, the same effect can be achieved with <UL PLAIN
WRAP=HORIZ>. The DIR tag will probably be obsolete
some day, so use UL.
<LI> text </LI>
<LI SRC= URL> text
</LI>
<LI DINGBAT= "entity-name">
text </LI>
<LI SKIP= number> text
</LI>
<LI TYPE= type> text
</LI>
<LI VALUE= number> text
</LI>
The list item tag defines one entry in an ordered, unordered, menu,
or directory list. Other tags may be embedded in a list item.
The
SRC attribute uses the image specified by the URL as the
bullet for this item. The DINGBAT attribute identifies an
iconic entity for the bullet. The SKIP attribute is used
with ordered lists to skip forward in the count.
The TYPE attribute changes the bullet or numbering style
for this item. type has the same values as it would in
the OL or UL tag. The VALUE
attribute resets the sequence number to number.
<MENU> list entries </MENU>
<MENU COMPACT> list entries </MENU>
The menu list tag introduces a menu list, which is made up of List
Item (LI) tags and does not include bullets or numbers
before them. For a bulleted list use UL. For a numbered
list use OL. For a list without bullets or numbers made
up of short items that can be arranged into columns use DIR.
The COMPACT attribute instructs the browser to reduce the
space occupied by the list.
In HTML 3.0, the same effect can be achieved with <UL PLAIN>.
The MENU tag will probably be obsolete some day, so use
UL.
<OL> list entries </OL>
<OL COMPACT> list entries </OL>
<OL SEQNUM= number> list
entries </OL>
<OL CONTINUE> list entries </OL>
<OL START= number> list
entries </OL>
<OL TYPE= type> list
entries </OL>
The ordered list tag introduces an ordered (numbered) list, which
is made up of List Item (LI) tags. The COMPACT
attribute instructs the browser to reduce the space occupied by the
list. For a bulleted list use UL. For a list without
bullets or numbers use MENU. For a list without bullets
or numbers made up of short items that can be arranged into columns
use DIR.
A list heading (LH) may be included before the first list
item. The SEQNUM attribute allows the first list item to
be number instead of the default 1. The CONTINUE
attribute continues the numbering from the previous ordered list.
The START attribute allows the first list item to be
number instead of the default 1. The TYPE
attribute governs the way items are numbered:
- A
- A, B, C...
- a
- a, b, c...
- I
- I, II, III...
- i
- i, ii, iii...
- 1
- 1, 2, 3...
<UL> list entries </UL>
<UL COMPACT> list entries </UL>
<UL SRC= "URL" > list entries
</UL>
<UL DINGBAT= "entity-name" >
list entries </UL>
<UL PLAIN>
<UL WRAP= type>
<UL TYPE= type > list
entries </UL>
The unordered list tag introduces an unordered (bulleted) list,
which is made up of List Item (LI) tags. The
COMPACT attribute instructs the browser to reduce the space
occupied by the list. For a numbered list use OL. For a
list without bullets or numbers use MENU. For a list
without bullets or numbers made up of short items that can be arranged
into columns use DIR.
A list heading (LH) may be included before the first list
item. The SRC attribute identifies a graphic image to be
used as a bullet, while the DINGBAT attribute identifies
an iconic entity for the bullet. The PLAIN attribute
specifies not to use a bullet on each item. The WRAP
attribute is either VERT or HORIZ, and
indicates multiple columns of data. VERT indicates that
the data is to go down the page and then wrap to the next column, and
HORIZ indicates that the data is to wrap across each row.
The TYPE attribute specifies the bullet type; type
can be DISC, CIRCLE, or SQUARE.
|