parentNode

The parentNode JS Node returns the parent.

Syntax

node.parentNode

Examples

1 · body

2 · html

parentElement

baseURI

childNodes

cloneNode

compareDocumentPosition

contains

firstChild

getRootNode

hasChildNodes

isConnected

isEqualNode

lastChild

nextSibling

nodeName

nodeType

normalize

ownerDocument

parentElement

previousSibling

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu