HTML start Attribute: This attribute defines the start value of the first list item in an ordered list.
HTML start Attribute
This attribute can be applied on <ol> element.
Syntax: <ol start = “value”> list items…</ol>
Browser Support:
This attribute is supported by the following browsers:
- Chrome
- Firefox
- Internet Explorer
- Safari
- Opera
Example: for <ol> element
<!DOCTYPE html> <html> <body> <ol start="50"> <li>HTML</li> <li>C</li> <li>C++</li> </ol> <ol type="I" start="10"> <li>HTML</li> <li>C</li> <li>C++</li> </ol> </body> </html>
Output:
50. Coffee
51. Tea
52. Milk
L. Coffee
LI. Tea
LII. Milk