Ordered Lists

Ordered Lists (<ol>)

Ordered lists are used when the sequence of items matters, as they are automatically numbered by the browser. The <ol> tag is employed to define a list with each item enclosed within an <li> (list item) tag.


Example of an Ordered List:

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

logo

HTML

Ordered Lists

Beginner 5 Hours

Ordered Lists (<ol>)

Ordered lists are used when the sequence of items matters, as they are automatically numbered by the browser. The <ol> tag is employed to define a list with each item enclosed within an <li> (list item) tag.


Example of an Ordered List:

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

Similar Data Science Tutorials

Related tutotials

Frequently Asked Questions for html

line

Copyrights © 2024 letsupdateskills All rights reserved