<html>
<body>
<h1>The Document Object</h1>
<h2>The links Property</h2>
<p><a href="/html/default.asp">HTML Tutorial</a></p>
<p><a href="/css/default.asp">CSS Tutorial</a></p>
<p>The number of links in the document is:</p>
<p id="demo"></p>
<script>
let numb = document.links.length;
document.getElementById("demo").innerHTML = numb;
</script>
</body>
</html>