sibling

A node that shares the same parent as another node in the DOM tree.

In more detail

nextElementSibling and previousElementSibling move between neighbouring elements. In events, sibling listeners are other listeners registered on the same element.

Related terms

Taught in

References