<html>
<body>
<ol id="myOl" start="50">
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
<p>Click the button to return the value of the start attribute of the ordered list.</p>
<button onclick="myFunction()">Try it</button>
<p id="demo"></p>
<script>
function myFunction() {
var x = document.getElementById("myOl").start;
document.getElementById("demo").innerHTML = x;
}
</script>
</body>
</html>