How to set the start value of an ordered list in HTML5 ?
The start value of an ordered list in HTML5 can be specified by implementing the HTML <ol> start Attribute and passing the starting value (number) as the value to the attribute.
The next values of the list are automatically set in order (e.g. if starting value is set to be 5, the next value will be 6 then 7, and so on).
<ol start="Starting_value"> <li> Content </li> </ol>
Example 1: After adding start=”4″ .
Example 2: After adding start=”15″ in <ol>.
Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML course.