
HTML
supports unnumbered, numbered, and definition lists. You can nest lists too
(put one kind of list in another kind), but use this sparingly because too
many nested items can get difficult to follow.
1.
Start with an opening list tag <UL>
2. Enter the <LI> (list item) tag followed
by the individual item, no closing </LI>
tag is needed.
3. End the entire list with a closing list </UL>
Below is a
sample three-item list:
<UL>
<LI> apples
<LI> bananas
<LI> grapefruit
</UL>
The
output looks like this:
The
<LI> list items can contain multiple paragraphs. Indicate the
paragraphs with the <P> tags.
An Example
follows:
<OL>
<LI> oranges
<LI> peaches
<LI> grapes
</OL>
The
output looks like this:
1.
oranges
2.
peaches
3.
grapes
An example of a
definition list:
<DL>
<DT>Carnegie Learning Centre
<DD>Carnegie Learning Centre is a site
on the World Wide Web devoted to learning. </DL>
The
output looks like this:
Carnegie
Learning Centre
Carnegie
Learning Centre is a site on the World Wide Web devoted to learning.
© Copyright 2002 Carnegie Webhead's