<html>
<body>
<h1>The Window History Object</h1>
<h2>The history.length Property</h2>
<p>Number of URLs in history list:</p>
<p id="demo"></p>
<p>Since this is a new window frame, history.length will always return 1.</p>
<script>
let length = history.length;
document.getElementById("demo").innerHTML = length;
</script>
</body>
</html>