Lists: HTML:
Overview

The easiest way to order information on a web page is to create a list.

Many web pages contain lists of links organized according to categories.

You can make several different types of lists:
  • An unordered list (such as this one) uses bulleting.
  • An ordered list uses numbers or letters.
  • A definition list is used to create a glossary of terms or to add a brief description to each list item.
You can create nested lists, i.e., lists within lists. These are especially useful if you want to display an outline on your web page.

When you use nested lists, the browser automatically indents each list.

Lists use two kinds of tags:
  • The first tag pair specifies the kind of list to be created, e.g., ordered or unordered.
  • The second tag <LI> is used to specify the start of each item in the list.
HINT:

LI=List Item

You can specify a title for your list with the <LH> tag. HINT:

LH=List Header

You can also specify exactly how a list will appear.
  • For example, you can specify that an unordered list will use squares rather than bullets.
  • For example, you can specify that an ordered list will use the lower case alphabet rather than numbers.

Lists: HTML
Overview
Create an Unordered List
Create an Ordered List
Create a Definition List

Personal Home PageWeb Design CenterTutorial MenuTop of Page

Web Design Center
Last Revised: October 19, 2006
© Agatha Taormina