web api instance property
HTMLOListElement: start property
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
startproperty value is independent of thetypeproperty; it is always numeric, even when type is letters or Roman numerals.
Value
A long value.
Examples
HTML
<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
Interactive exampleOpen the canonical MDN source to run this embedded demo.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.