parent


parentNodeRead-only

Note: This standard element property is not relevant for Chatbox.

Gets the element's parent element.

Some elements can contain other elements. This occurs when you drag an element onto a container element. The container is the parent of all the elements it contains.

Page, Header, and Footer are top-level elements and have no parent.

Did this help?