<ol>

Text

An ordered (numbered) list of items. Use when the sequence or ranking of items matters.

Common Attributes

reversedstarttype

Example

<ol>
  <li>First item</li>
  <li>Second item</li>
  <li>Third item</li>
</ol>

About the <ol> Element

The <ol> HTML element belongs to the Text category of HTML elements. An ordered (numbered) list of items. Use when the sequence or ranking of items matters. Understanding when and how to use this element is essential for building well-structured, accessible, and SEO-friendly web pages.

The <ol> element requires both an opening <ol> and closing </ol> tag. Content placed between these tags becomes the element's children. This element is part of the current HTML Living Standard and is supported in all modern browsers including Chrome, Firefox, Safari, and Edge.

Proper use of semantic HTML elements like <ol> improves document structure, helps screen readers interpret content correctly, and provides signals to search engines about the purpose of different sections of your page. This leads to better accessibility scores, improved SEO rankings, and more maintainable code.

Related Elements