HTMLDocument in DOM Level 2 HTML

(no overview available)

Inherits from:

Instance Properties

name type description
doctype DocumentType (read only) [from Document]
implementation DOMImplementation (read only) [from Document]
documentElement Element (read only) [from Document]
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]
title String
referrer String (read only)
domain String (read only)
URL String (read only)
body HTMLElement
images HTMLCollection (read only)
applets HTMLCollection (read only)
links HTMLCollection (read only)
forms HTMLCollection (read only)
anchors HTMLCollection (read only)
cookie String

Instance Methods

name returns description
createElement() DocumentFragment [from Document]
createComment() Comment [from Document]
createCDATASection() CDATASection [from Document]
createProcessingInstruction() ProcessingInstruction [from Document]
createAttribute() Attr [from Document]
createEntityReference() EntityReference [from Document]
getElementsByTagName() NodeList [from Document]
importNode() Node Imports a node from another document to this document. [from Document]
createElementNS() Element [from Document]
createAttributeNS() Attr [from Document]
getElementsByTagNameNS() NodeList [from Document]
getElementById() Element [from Document]
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]
createDocumentFragment() DocumentFragment [from Document]
hasChildNodes() Boolean [from Node]
normalize() (none) [from Node]
hasAttributes() Boolean [from Node]
open() (none)
close() (none)
write() (none)
writeln() (none)
getElementsByName() NodeList
createTextNode() Text Create a new Text node, with optional content. [from Document]