Prodigy Personal Web Pages Tutorial

HTML Tutorials

Creating Lists of Items

Numbered List

It's easy to create a simple numbered (or ORDERED) list of items to display on your page. The <OL> </OL> tags are used to designate the start and end of a numbered list. Below is a sample, followed by the syntax used to create the list.

  1. Apple
  2. Orange
  3. Lemon
  4. Tangerine

<OL>

<LI>Apple

<LI>Orange

<LI>Lemon

<LI>Tangerine

</OL>

Unnumbered List

An unnumbered list (or BULLETED) list is created similarly to a numbered list, using the <UL> </UL> tags. Below is a sample list followed by the syntax used to create it.

<UL>

<LI>Chocolate

<LI>Strawberry

<LI>Banana

<LI>Vanilla

</UL>

Definition List

You can create an indented list with Terms and Definitions (such as the sample below) using the syntax in the table which follows the sample Definition List.

A Definition List is designated using the <DL> </DL> tags to mark the beginning and end of a list.

A definition term is specified by a single <DT> tag while the definition of the term is specified by a single <DD> tag.

Baseball
A team game requiring a bat and ball and 9 players per team.
Basketball
A team game requiring a ball and 5 players per team.
Golf
A sport requiring special clubs and a small ball. Can be played alone or with others.

<DL>

<DT>Baseball

<DD>A team game requiring a bat and ball and 9 players per team.

<DT>Basketball

<DD>A team game requiring a ball and 5 players per team.

<DT>Golf

<DD>A sport requiring special clubs and a small ball. Can be played alone or with others.

</DL>


Copyright © 1996 Prodigy Services Company. All Rights Reserved.