Is there other DOM hierarchy/relationship terminology I should know about (besides parent node and child node)?


#1

Question

Is there other DOM hierarchy/relationship terminology I should know about (besides parent node and child node)?

Answer

There isn’t! However web developers should note that nodes can have siblings (just like an HTML element can have siblings) which can be accessed using properties like .nextSibling, .previousSibling, and .nextElementSibling.