Sams Teach Yourself HTML 4 in 24 Hours

Sams Teach Yourself HTML 4 in 24 Hours

By Dick Oliver

The Three Types of HTML Lists

There are three basic types of HTML lists. All three are shown in Figure 5.3, and Figure 5.4 reveals the HTML to construct them:

05fig03.jpg

Figure 5.3 The three types of HTML lists, as they appear in Netscape Navigator.

05fig04.gif

Figure 5.4 Use <ul> and <li> for unordered lists, <ol> and <li> for ordered lists, and <dl>, <dt>, and <dd> for definition lists.

Ordered lists are indented lists that have numbers or letters in front of each item. Unordered lists are indented lists with a special bullet symbol in front of each item.Definition lists are indented lists without any number or symbol in front of each item.

Share ThisShare This

Informit Network