Ordered List

Support Key: [2|3|3.2|4] [X1|X1.1] [IE1|M1|N1|O2.1]
What is it?
Attributes
Tag Example
Parent/Content Model
Tips & Tricks
Browser Peculiarities
= Index DOT Html by Brian Wilson =
Main Index | Element Tree | Element Index | HTML Support History



   Quick Statistics   
End Tag:
   Required
Standards Details:
HTML: In all 4.x DTDs
XHTML: In all 1.0 and 1.1 DTDs
XHTML Modules:
List
CSS 'display' Type:
"block"
CSS Mapping:
NA
Default Rendering:
Block element with left margin. Each LI element has a number prefix before it.
Official Docs:
HTML 4.x, XHTML 1.1

What is it?
The Ordered List element represents a list of items sorted by sequence or order of importance. Typical rendering is a numbered list of items. The only content of this list structure is the <li> (list item) element. As with other list types, the closing </li> tag is optional in HTML (Required in XHTML), as it is implied by the subsequent <li> or end </ol> tags.

Common Attributes
%Core%
[2|3|3.2|4] [X1|X1.1] [IE3|M|N4B2|O3.5]
%Accessibility%
[2|3|3.2|4] [X1|X1.1] [IE4B1|M|N6|O5]
%Events%
[2|3|3.2|4] [X1|X1.1] [IE4B1|M|N6B1|O4]
%Language%
[2|3|3.2|4] [X1|X1.1] [IE4|M|N6B1|O]
%Editing%
[2|3|3.2|4] [X1|X1.1] [IE5.5|M|N|O]

Specific Attributes
Align
[2|3|3.2|4] [X1|X1.1] [IE|M|N|O4]
Standards Details: NA
Required? No
Description:
This indicates the horizontal alignment of the content in this block element relative to the browser window.
Values: Left [DEFAULT] | Center | Right
Clear
[2|3|3.2|4] [X1|X1.1] [IE|M|N|O2.1-6.x]
Standards Details: NA
Required? No
Description:
This attribute helps an author in situations with floating objects (images, tables, etc.) produced through the Left and Right ALIGN attributes. It allows content to stop being flowed around the floated element.
Values:
   None [DEFAULT - No special line breaking effects are applied relative to the floating element.]
   Left [breaks line after this element and moves down vertically until the left margin is clear of floated objects.]
   Right [breaks line after this element and moves down vertically until the right margin is clear of floated objects.]
   All [breaks line after this element and moves down vertically until both margins are clear of floated objects.]
Compact
[2|3|3.2|4] [X1|X1.1] [IE|M|N|O]
Standards Details: Deprecated in HTML 4.x/XHTML 1.0; Not present in XHTML 1.1
Required? No
Description:
This is a stand alone attribute flag that indicates a compact rendering be used if possible, possibly because the list items are small or the entire list is large.
Values: NA (HTML); compact (XHTML)
Height
[2|3|3.2|4] [X1|X1.1] [IE|M| N |O4-6.x]
Standards Details: NA
Required? No
Description:
This attribute explicitly specifies the height of this block element in pixels.
Values: Positive integers.
SDAForm
[2|3|3.2|4] [X1|X1.1] [IE|M|N|O]
Standards Details: NA
Required? No
Description:
This is an SGML Document Access (SDA) attribute. SDA attributes are designed to transform HTML (and other SGML-based documents) to the ICADD DTD - which is used in creating accessible documents for users with visual disabilities (rendering in Braille, large print, speech synthesis, etc.) The attribute value specifies the name of the element to convert this element to in the SDA element group (in this case the 'List' element - "list of items".)
Value: List (Denotes a 'list of items' in SDA.)
Start
[2|3|3.2|4] [X1|X1.1] [IE4|M|N1|O2.1]
Standards Details: Deprecated in HTML 4.x/XHTML 1.0; Not present in XHTML 1.1
Required? No
Description:
This attribute specifies the number to be used for the first item in the list. Subsequent list items by default will count upwards from this initial value (default is "1".) The value is specified using decimal notation. Negative numbers and zero are permitted by the HTML/XHTML specifications, but some browsers do not support them. The rendering of numbers for list markers is also usually affected by the TYPE attribute, if present. If ordered list TYPE values are specified ("a", "A", "i", "I", and "decimal") then the START attribute will be honored, with the numbering mapped to the TYPE being used. If unordered list TYPE values are specified ("disc", "square", "circle", "round"), then the START attribute will be ignored.
Values: Specified as integers. Default value is "1"
Type
[2|3|3.2|4] [X1|X1.1] [IE4|M|N1|O2.1]
Standards Details: Deprecated in HTML 4.x/XHTML 1.0; Not present in XHTML 1.1
Required? No
Description:
The TYPE attribute indicates different ordering label schemes to be used instead of the default 1, 2, 3, etc.
Values:
   none [no marker is used]
   A [capital letters]
   a [lower-case letters]
   I [large roman numerals]
   i [small roman numerals]
   upper-alpha [capital letters]
   lower-alpha [lower-case letters]
   upper-roman [large roman numerals]
   lower-roman [small roman numerals]
   decimal [integer numbering - DEFAULT]
   disc [default solid bullet]
   square [solid square]
   circle [hollow bullet]
   round [hollow bullet]
Width
[2|3|3.2|4] [X1|X1.1] [IE|M| N |O4-6.x]
Standards Details: NA
Required? No
Description:
This attribute explicitly specifies the width of this block element in pixels.
Values: Positive integers.
Example
<ol type="A" start="3">
   <li>List item 1</li>
   <li>List item 2</li>
   <li>List item 3</li>
</ol>
Parent Model
%Block Parent%
Content Model
<li>
Tips & Tricks Browser Peculiarities
Boring Copyright Stuff...