What is the purpose of HTML DOM Node Tree? - DOM

What is the purpose of HTML DOM Node Tree?



- HTML DOM view the HTML document with a tree structure format and it consists of root node and child nodes.

- The node-tree is being accessed using the tree formation and the structure in which the elements get created.

- The contents that are used being modified or removed using the new elements and it can be created within the limitations.

- The structure consists of a document that is the root and within it Root element <html> from where the tree starts.

- It consists of sub-elements like <head> and <body> and other text and attributes written in the HTML format.
Post your comment