Hierarchy

Properties

nextElementSibling: Element

Returns the first following sibling that is an element, and null otherwise.

previousElementSibling: Element

Returns the first preceding sibling that is an element, and null otherwise.