The Art of Writing Short Stories Read Here

Nodes in DOM tree

DOM node

 

Nodes in DOM tree

A node in the DOM tree is the intersection of two branches containing data. Nodes can represent HTML elements, text, attributes, etc. The root node is the top-most node of the tree. The illustration shows a representation of a DOM containing different types of node.



You may also like :