Element Object Methods & Properties 2 Flashcards
Returns the last child node of an element
element.lastChild
Returns the last child element of an element
element.lastELementChild
Returns the namespace URI of an element
element.namespaceURI
Returns the next node at the same node tree level
element.nextsibling
Returns the next element at the same node tree level
element.nextElementSibling
Returns the name of a node
element.nodeName
Returns the node type of a node
element.nodeType
Sets or returns the value of a node
element.nodeValue
Joins adjacent text nodes and removes empty text nodes in an element
element.normalize( )
Returns the height of an element, including padding, border and scrollbar
element.offsetHeight
Returns the width of an element, including padding, border and scrollbar
element.offsetWidth
Returns the horizontal offset position of an element
element.offsetLeft
Returns the offset container of an element
element.offsetParent
Returns the vertical offset position of an element
element.offsetTop
Returns the root element (document object) for an element
element.ownerDocument