Lists
This section describes the tags for displaying lists:
DIR
(directory list)
This tag is being deprecated; that is, it has become obsolete.
Syntax
<DIR CLASS=
"styleClass"
ID="namedPlaceOrStyle"
LANG="ISO"
STYLE="style"
>...
</DIR>
Example
<P>The directory structure is:</P>
<DIR>
<LI>composer
<DIR>
<LI>editing.html
<LI>publishing.html
</DIR>
<LI>navigator
<DIR>
<LI>userguide.html
<LI>javascript.html
</DIR>
</DIR>
The file lists.html shows this example in action in a separate window.
DL
(definition list)
Syntax
<DL COMPACT CLASS=
"styleClass"
ID="namedPlaceOrStyle"
LANG="ISO"
STYLE="style"
>...
</DL>
Definition List Example
The following example defines six HTML terms.
<DL>
<DT>HTML
<DD>This tag marks a text file as an HTML document.
<DT>HEAD
<DD>This tag encloses the heading for the HTML document.
<DT>BODY
<DD>This tag displays the body for the HTML document.
<DT>DL
<DD>This tag displays a definition list in the HTML document.
<DT>DT
<DD>This tag displays a term in a definition list.
<DT>DD
<DD>This tag displays a definition description.
</DL>
The file lists.html shows this example in action in a separate window.
DT
(definition term)
The DT tag does not require a closing tag. See DL for more details and an example.
Syntax
<DT CLASS=
"styleClass"
ID="namedPlaceOrStyle"
LANG="ISO"
STYLE="style"
>
Used Within
Example
See Definition List Example for an example.
DD
(definition description)
See DL for more details and an example.
Syntax
<DD CLASS=
"styleClass"
ID="namedPlaceOrStyle"
LANG="ISO"
STYLE="style"
>
Used Within
Example
See Definition List Example for an example.
MENU
(list of simple items)
This tag is being deprecated because it has become obsolete in favor of the UL tag.
Syntax
<MENU CLASS=
"styleClass"
ID="namedPlaceOrStyle"
LANG="ISO"
STYLE="style"
>
...
</MENU>
Example
The following example creates a list of three short items:
<P>Netscape Navigator supports these platforms:</P>
<MENU>
<LI> UNIX
<LI> Windows
<LI> Macintosh
</MENU>
The file lists.html shows this example in action in a separate window.
OL
(ordered list)
Syntax
<OL
START="value" CLASS=
TYPE="A"|"a"|"I"|"i"|"1"
"styleClass"
ID="namedPlaceOrStyle"
LANG="ISO"
STYLE="style"
>
...
</OL>
indicates the starting number for the list. The number must be a positive integer. Navigator 1.1
defines the type of numbering sequence used for each list item. Navigator 1.1.
Example
<P>The following steps outline how to create HTML files:</P>
<OL START="3" TYPE="I">
<LI> Use a text editor or Netscape Composer to create your HTML file.
<LI> Put the HTML files on a web server.
<LI> Test the files by viewing them in a web browser.
</OL>
The file lists.html shows this example in action in a separate window.
UL
(unordered list)
Syntax
<UL TYPE="CIRCLE"|"DISC"|"SQUARE" CLASS=
"styleClass"
ID="namedPlaceOrStyle"
LANG="ISO"
STYLE="style"
>
defines the type of bullet used for each list item. Navigator 1.1.
Example
<P>Netscape Composer offers the following benefits</P>
<UL TYPE=SQUARE>
Edit web pages directly in Navigator
Easy options for setting background and link colors
As easy to use as any text editor
No need to learn HTML
</UL>
The file lists.html shows this example in action in a separate window.
LI
(list item)
A single itemized element can contain other tags such as the P tag.
The LI tag does not require a closing tag.
Syntax
<LI
TYPE="DISC"|"CIRCLE"|"SQUARE"|"A"|"a"|"I"|"i"|"1"
VALUE="number"
CLASS="styleClass"
ID="namedPlaceOrStyle"
LANG="ISO"
STYLE="style"
>
specifies the type of symbol or numbering sequence to use before each item.
indicates the starting number for an item in an ordered list. This attribute is valid only in an ordered list See. OL for information on the types of numbering available.
Used Within
Example
The LI tag allows you to:<P>
<UL>
<LI>Identify items in a numbered list
<LI>Identify items in an unordered list
<LI>Identify items in a directory list
<LI>Identify items in a menu
</UL>

thats creative work there, check itHow Do you Do that?