HTMLElement in DOM Level 2 HTML

(no overview available)

Inherits from:

Instance Properties

name type description
nodeName String (read only) [from Node]
nodeValue String [from Node]
nodeType Number (read only) [from Node]
parentNode Node (read only) [from Node]
childNodes NodeList (read only) [from Node]
firstChild Node (read only) [from Node]
lastChild Node (read only) [from Node]
previousSibling Node (read only) [from Node]
nextSibling Node (read only) [from Node]
attributes NamedNodeMap (read only) [from Node]
ownerDocument Document (read only) [from Node]
namespaceURI String (read only) [from Node]
prefix String [from Node]
localName String (read only) [from Node]
tagName String (read only) [from Element]
id String
title String
lang String
dir String
className String

Instance Methods

name returns description
insertBefore() Node [from Node]
replaceChild() Node [from Node]
removeChild() Node [from Node]
appendChild() Node [from Node]
cloneNode() Node Return a new copy of the node. [from Node]
isSupported() Boolean [from Node]
getAttribute() String [from Element]
setAttribute() (none) [from Element]
removeAttribute() (none) [from Element]
getAttributeNode() Attr [from Element]
setAttributeNode() Attr [from Element]
removeAttributeNode() Attr [from Element]
getElementsByTagName() NodeList [from Element]
getAttributeNS() String [from Element]
setAttributeNS() (none) [from Element]
removeAttributeNS() (none) [from Element]
getAttributeNodeNS() Attr [from Element]
setAttributeNodeNS() Attr [from Element]
getElementsByTagNameNS() NodeList [from Element]
hasAttribute() Boolean [from Element]
hasAttributeNS() Boolean [from Element]
hasChildNodes() Boolean [from Node]
normalize() (none) [from Node]
hasAttributes() Boolean [from Node]

Properties that are an HTMLElement

name object description
body HTMLDocument

Methods that return an HTMLElement

name of object description
createTHead() HTMLTableElement
createTFoot() HTMLTableElement
createCaption() HTMLTableElement
insertRow() HTMLTableElement
insertRow() HTMLTableSectionElement
insertCell() HTMLTableRowElement

Arguments that are an HTMLElement

name in method of object description
element add() HTMLSelectElement
before add() HTMLSelectElement