A node is a container for related variables and functions and node members helps us to query and manipulate markup, like finding, creating, or deleting content.
You will learn
The W3C DOM standard is separated into 3 different DOM types:
There are the 11 DOM interfaces.
Below image represents HTML document as a nested set of boxes. Tags such as <body> and </body> enclose other tags, which in turn contain other tags or text.
<html> <head> <title> My home page </title> </head> <body> <h1> My home page </ h1> <p> Hello , I am M a r i j n and this is my home page . </p> <p> I also wrote a book ! Read it <a href="http :// rookienerd.com"> here </a>. </p> </body> </html>