To mark the individual items within the list, use the LI tag. A single list item can contain additional paragraphs, marked with the P tag.
This tag is being deprecated; that is, it has become obsolete.
<DIR
CLASS=
"styleClass"
ID=
"namedPlaceOrStyle"
LANG=
"ISO"
STYLE=
"style"
>...
</DIR>
<P>The directory structure is:</P>
<DIR>
<LI>composer
<DIR>
<LI>editing.htm
<LI>publishing.htm
</DIR>
<LI>navigator
<DIR>
<LI>userguide.htm
<LI>javascript.htm
</DIR>
<DIR>
The file lists.htm shows this example in action in a separate window.The intent of a definition list is to display lists of terms and their corresponding definitions, such as in a glossary.
<DL COMPACT
CLASS=
"styleClass"
ID=
"namedPlaceOrStyle"
LANG=
"ISO"
STYLE=
"style"
>...
</DL>
compacts the definition list by placing the term defined by the DT tag on the same line as the definition defined by the DD tag, provided the term is short enough.
<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.htm shows this example in action in a separate window.The DT tag does not require a closing tag. See DL for more details and an example.
<DT
CLASS=
"styleClass"
ID=
"namedPlaceOrStyle"
LANG=
"ISO"
STYLE=
"style"
>
<DL>
See DL for more details and an example.
<DD
CLASS=
"styleClass"
ID=
"namedPlaceOrStyle"
LANG=
"ISO"
STYLE=
"style"
>
<DL>
This tag is being deprecated because it has become obsolete in favor of the UL tag.
<MENU
CLASS=
"styleClass"
ID=
"namedPlaceOrStyle"
LANG=
"ISO"
STYLE=
"style"
>
...
</MENU>
<P>Netscape Navigator supports these platforms:</P>
<MENU>
<LI> UNIX
<LI> Windows
<LI> Macintosh
</MENU>
The file lists.htm shows this example in action in a separate window.<OL
START="
value
"
TYPE="A"|"a"|"I"|"i"|"1"
CLASS=
"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.The value can be one of the following:
- A specifies a sequence of uppercase letters
- a specifies a sequence of lowercase letters
- I specifies a sequence of uppercase Roman numerals
- i specifies a sequence of lowercase Roman numeral
- 1 specifies a sequence of numbers.
<P>The following steps outline how to create HTML files:</P>The file lists.htm shows this example in action in a separate window.<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>
<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.The value can be one of the following:
- CIRCLE specifies a hollow bullet.
- DISC specifies a solid round bullet (Netscape Navigator's default).
- SQUARE specifies a square bullet.
<P>Netscape Composer offers the following benefits</P>The file lists.htm shows this example in action in a separate window.
<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>
A single itemized element can contain other tags such as the P tag.
The LI tag does not require a closing tag.
<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.
The values DISC, CIRCLE, and SQUARE can be used in unordered lists, while the values A, a, I, i, and 1 can be used in ordered lists that have a numerical sequence.
- DISC specifies a solid bullet.
- CIRCLE specifies a hollow bullet.
- SQUARE specifies a square bullet.
- A specifies a sequence of uppercase letters.
- a specifies a sequence of lowercase letters.
- I specifies a sequence of uppercase Roman numerals.
- i specifies a sequence of lowercase Roman numeral.
- 1 specifies a sequence of numbers.
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.
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>
The file lists.htm shows this example in action in a separate window.
Last Updated: 01/26/98 21:33:44