How does the relationship exist between the node, child and siblings in node-tree? - DOM
How does the relationship exist between the node, child and siblings in node-tree?
- Node tree consists of root node, child and siblings with a defined relationship with each other.
- The relationship is described as such it allows the children on the same level to be called as siblings.
- The root node is the top most nodes and through this node the accessing will be done and the elements will be communicated.
- Every node in the tree will have exactly one parent node and root doesn’t have any parent in this.
- A node at lower down the order can include many other nodes and they will be called as children of parent nodes.