Sometimes, we want to specify a starting number for an ordered list with HTML.
In this article, we’ll look at how to specify a starting number for an ordered list with HTML.
How to specify a starting number for an ordered list with HTML?
To specify a starting number for an ordered list with HTML, we set the start
attribute.
For instance, we write
<ol start="6">
<li>Lorem</li>
<li>Ipsum</li>
<li>Dolor</li>
</ol>
to set the start attribute to 6 to set 6 as the number for the first item.
Conclusion
To specify a starting number for an ordered list with HTML, we set the start
attribute.