Glossary Term
HTML ol element
The <ol> HTML element represents an ordered list of items — typically rendered as a numbered list.
Typically, ordered list items display with a preceding marker, such as a number or letter.
The <ol> and <ul> (or the synonym <menu>) elements may nest as deeply as desired, alternating between <ol>, <ul> (or <menu>) as needed. To nest a list, place it inside an <li> element of the parent list; a list element can not be a direct child of another <ul> or <ol>.
The <ol> and <ul> elements both represent a list of items. The difference is with the <ol> element, the order is meaningful. For example:
Steps in a recipe Turn-by-turn directions The list of ingredients in decreasing proportion on nutrition information labels
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
