Ordered List | WebReference

Ordered List

HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Ordered List

<ol> ... </ol>

Description: Defines an ordered (numbered) list.

Browser Compatibility: NN: 1.0+ / IE: 2.0+ / Opera: 4+

Attributes:
  • class
  • compact*
  • dir
  • id
  • lang
  • onclick
  • ondblclick
  • onkeydown
  • onkeypress
  • onkeyup
  • onmousedown
  • onmousemove
  • onmouseout
  • onmouseover
  • onmouseup
  • start*
  • style
  • title
  • type*

* Deprecated

Code Example:

<ol>
    <li>Learn HTML</li>
    <li>Learn CSS</li>
</ol>



Created: March 15, 2005

URL: http://webreference.com/html/reference/specs/