The document is always the root node. This node contains one child node which is
<html>. It has two child node:
<head> has one child node which is
<body> has three child nodes which are
<div> again have their own child node which is
<p>. In DOM, this is represented as a following tree like structure.