1. Home
  2. Computing & Technology
  3. Web Design / HTML

<ol></ol>

By Jennifer Kyrnin, About.com

<ol> Description:

The <ol></ol> tag defines an ordered or numbered list.

<ol> Web Browser Support:

<ol> Attributes:

<ol> End Tag:

</ol> REQUIRED

<ol> Contents:

List elements. The following tags are valid within the <ol> tag:
li

<ol> Valid Context:

The <ol> tag is valid within the following tags:
blockquote, body, button, center, dd, div, fieldset, form, iframe, li, noframes, noscript, object, td, th

<ol> Usage:

  • typical list
    <ol>
    <li>number one</li>
    <li>number two</li>
    <li>number three</li>
    </ol>

<ol> Special Notes:

  • Use ordered lists for instructions or any type of numbering.

More <ol> Information:

Return to XHTML Element (HTML Tags) Library

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML and XHTML
  5. XHTML
  6. HTML Tags
  7. The ol Element - ordered lists - XHTML 1.0 HTML 4.0

©2008 About.com, a part of The New York Times Company.

All rights reserved.