This document describes tags associated with lists.
Click here to skip over the explanatory material at the top of the page and jump straight to the tags.This table:
and these icons:
Support: 2.0, 3.0, 3.2 1.1+ 1.0+
alert you to tags and attributes that are not supported by all browsers. The support page explains the table and the icons in detail.
Not all HTML tags are in this single file. The comprehensive list has been split into the following eight categories:
We have also provided several indexes to help you navigate through this reference. In addition to our main indexes (the compact index and the complete index), there are four other indexes that list the tags according to the standards and browsers that support them.
Willcam's Comprehensive HTML Cross Reference was created as a service to the Internet community, and forms part of Willcam's Internet and HTML curriculum. It represents a joint effort of The Willcam Group and Gregory Consulting and is Copyright 1995 and 1996, The Willcam Group Limited. Please report any errors or omissions to Kate Gregory.
<DL>
list entries</DL>
list entries
<DL COMPACT></DL>
term
<DT>
<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>
URL
<LI SRC=>
text</LI>
"entity-name"
<LI DINGBAT=>
text</LI>
number
<LI SKIP=>
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>
number
<OL SEQNUM=>
list entries</OL>
list entries
<OL CONTINUE></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:
<UL>
list entries</UL>
list entries
<UL COMPACT></UL>
"URL"
<UL SRC=>
list entries</UL>
"entity-name"
<UL DINGBAT=>
list entries</UL>
type
<UL PLAIN>
<UL WRAP=>
<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.