ToC ~ Up ~ Prev ~ Next ~ Index Introduction to HTML
Last Update: 5 January 1998

4.7.2 Regular Lists ( ... Netscape Extensions)

A regular list is a sequence of paragraphs, each of which may be preceded by a special mark, sequence number, or nothing at all. The syntax is:

<UL>
  <LI> list element </LI>
  <LI> another list element ... </LI>
</UL>

where the opening element defining the list type can be one of

Here are four examples, showing the rendering for the four different types. The text we will format is as follows:

Hi.  The following is an example list.
<UL>
  <LI> list element.  The quick brown fox jumped over the 
  lazy dog.  The quick brown fox jumped over the lazy dog.
  The quick brown fox jumped over the lazy dog.
  The quick brown fox jumped over the lazy dog.
  The quick brown fox jumped over the lazy dog.
  <LI> another list element ...
</UL>

The following four examples use the four possible list elements UL, OL, MENU and DIR.

UL List

Hi. The following is an example list.

OL List

Hi. The following is an example OL (ordered) list.

  1. list element. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog.
  2. another list element ...

MENU List

Hi. The following is an example MENU list.

  • list element. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog.
  • another list element ...
  • DIR List

    Hi. The following is an example DIR list.

  • list element. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog. The quick brown fox jumped over the lazy dog.
  • another list element ...

  • ToC ~ Up ~ Prev ~ Next ~ Index Introduction to HTML
    © 1994-1998 by Ian Graham
    Last Update: 5 January 1998