<html>
<body>
<h1>The Element Object</h1>
<h2>The nodeType Property</h2>
<p>The node type of the body element is:</p>
<p id="demo"></p>
<script>
let type = document.body.nodeType;
document.getElementById("demo").innerHTML = type;
</script>
</body>
</html>