Baseline Widely available
The start
property of the HTMLOListElement
interface indicates starting value of the ordered list, with default value of 1.
It reflects the start
attribute of the <ol>
element.
Note: The start
property value is independent of the HTMLOListElement.type
property; it is always numeric, even when type is letters or Roman numerals.
A long
value.
<ol id="order-list">
<li>Fee</li>
<li>Fi</li>
<li>Fo</li>
<li>Fum</li>
</ol>
JavaScript
const olElement = document.querySelector("#order-list");
console.log(olElement.start); // Output: "1"
olElement.start = "11";
console.log(olElement.start); // Output: "11"
Result Specifications Browser compatibility
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4