<!DOCTYPE html>
<html>
<body>
<h1>The Document Object</h1>
<h2>The readyState Property</h2>
<p id="demo"></p>
<script>
document.getElementById("demo").innerHTML = document.readyState;;
</script>
</body>
</html>