Set the start value of the ordered list to "75":
The start property sets or returns the value of the start attribute of an ordered list.
The start attribute specifies the start value of the first list item in an ordered list.
The start property is supported in all major browsers.
Return the start property:
Set the start property:
Value | Description |
---|---|
number | Specifies the start value of the first item in the ordered list |
Return Value: | A Number, representing the start value of the first list item in the ordered list |
---|
Return the value of the first list item in the ordered list:
The result of x will be:
Set the start value of the ordered list to "5", when using roman numbers (type="I"):
HTML reference: HTML <ol> start attribute