Introduction
Text
Formatting
Links
Lists
Definition Lists
Unordered Lists
Ordered Lists
Example
Images
Tables
Frames
Forms
Conclusion


Ordered Lists
The <OL> </OL> tag is used to create ordered lists or numbered lists, for lists like an outline. Like the <UL> tag the <OL> tag just allows for the <LI> tag inside of its contents.

TYPE
Like the <UL> the <OL> also has a TYPE attribute to set the numbering scheme, which use Arabic numbers, letters, or Roman numerals. Here is how to set the different numbering schemes:

  • TYPE="1" is the default and uses the Arabic numbering scheme (1, 2, 3)
  • TYPE="A" uses uppercase alphabetic letters (A, B, C)
  • TYPE="a" uses lowercase alphabetic letters (a, b, c)
  • TYPE="I" uses uppercase Roman numerals (I, II, III)
  • TYPE="i" uses lowercase Roman numerals (i, ii, iii)
START
The "START" attribute allows you to set the start value for your ordering list. It doesn't matter if the type value is set to numbers or letters you still must always specify the value of START with a number, so for example if START=3 the list will follow as so:

<OL TYPE="1" START ="3"> this will give you the number 3.
<OL TYPE="A" START ="3"> this will give you the letter C.
<OL TYPE="a" START ="3"> this will give you the letter c.
<OL TYPE="I" START ="3"> this will give you the numeral III.
<OL TYPE="i" START ="3"> this will give you the numeral iii.

back  next

© Copyright 2000-2002 by Pepmint.com. All Rights Reserved

Search Pepmint.com

home :: tutorial :: portfolio :: links :: hammies :: guestbook :: contact