You are here:  NetStrider » Tutorials » HTMLRef » Commands » OL «

HTML Reference Guide

Author: Randy D. Ralph.   In place March 1, 1999.   Copyright © 1999 NetStrider.   Presented as a public service.

BACK <OL> Command next

Command Syntax:

<OL command parameters>
  <LI> List Item 1
  <LI> List Item 2
       . . .
</OL>

This command encloses, defines and places an ordered list, i.e., a numbered or lettered list.  Enclosed list items - <LI> - define the elements within the list.

See also:  <DL>, <MENU>, <UL>

Command Parameters:
start="integer"

Defines the integer number at which the list numbering (or lettering) should start if other than the default value of 1.  The type attribute determines the style of the display, e.g., a starting value of 3 would produce:

  • for type A - C.
  • for type a - c.
  • for type I - III.
  • for type i - iii.
  • for type 1 - 3.
type="A | a | I | i | 1"

Defines the style of the ordering for the list where:

  • A - produces a lettered list using uppercase.
  • a - produces a lettered list using lowercase.
  • I - produces a list using uppercase Roman numerals.
  • i - produces a list using lowercase Roman numerals.
  • 1 - produces a simple numbered list (the default).
Example:
<b> <ol start=3 type="A"> <li>Education <li>Experience <li>References </ol> </b> Yields -
  1. Education
  2. Experience
  3. References
Return to Section M:R


Return to the List of Commands
Author: Randy D. Ralph.  In place March 1, 1999.  Copyright © 1999 NetStrider.  World Rights reserved.




Hosted by uCoz