The Web Design Group

OL - Ordered list


This element is also available in our updated HTML 4 reference. Some characteristics may have changed.

Appearance: <OL> </OL>
Attributes: TYPE=1|a|A|i|I, START=n, COMPACT
Contents: LI
May occur in: BODY, DIV, CENTER, BLOCKQUOTE, FORM, TH, TD and DD, LI.

The OL tag marks up an ordered list of items. Each item should be marked up with a LI, and it will be displayed with a number in front of it. The appearance of the number can be controlled with the TYPE attribute:

The START attribute indicates where the list should start. The COMPACT attribute indicates that the list contains only short list items, so it may be rendered in a more compact way. This is currently not widely supported.

Notes:

HTML 3.2 Reference  ~ Elements by Function  ~ Elements Alphabetically


Home, Forums, Reference, Tools, FAQs, Articles, Design, Links

Copyright © 1996 - 2006. Web Design Group All rights reserved.