Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<h3>A demonstration of how to access an OL element</h3>
<ol id="myOl">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ol>
<p>Click the button to set the list items to increment from the number "25" instead of "1".</p>
<button onclick="myFunction()">Try it</button>
<script>
function myFunction() {
  var x = document.getElementById("myOl");
  x.start = "25";
}
</script>
</body>
</html>