Ordered Lists


Use the <OL> tag to start an ordered list of items, and use the </OL> to end the ordered list.

Each item in an ordered list is indented, just as they are with unordered lists. Also, each list item in an ordered list is preceded with a number, in order, instead of a "bullet".

For example, the following HTML source code:


Here is a list of Mexican cities.
<OL>
<LI>Mexico City
<LI>Guadalajara
<LI>Monterrey
<LI>Acapulco
<LI>Tasco
</OL>

Would display this ordered list on the user's screen:

Here is a list of Mexican cities.
  1. Mexico City
  2. Guadalajara
  3. Monterrey
  4. Acapulco
  5. Tasco

I understand ordered lists. Can lists be nested?
[INDEX] [PREVIOUS] [NEXT PAGE] [CHAPTER 5]

Valid HTML 3.2!