HTMLDocument in DOM Level 2 HTML

(no overview available)

Inherits from:

Instance Properties

name type description
anchors HTMLCollection (read only)
applets HTMLCollection (read only)
attributes NamedNodeMap (read only) [from Node]
body HTMLElement
childNodes NodeList (read only) [from Node]
cookie String
doctype DocumentType (read only) [from Document]
documentElement Element (read only) [from Document]
domain String (read only)
firstChild Node (read only) [from Node]
forms HTMLCollection (read only)
images HTMLCollection (read only)
implementation DOMImplementation (read only) [from Document]
lastChild Node (read only) [from Node]
links HTMLCollection (read only)
localName String (read only) [from Node]
namespaceURI String (read only) [from Node]
nextSibling Node (read only) [from Node]
nodeName String (read only) [from Node]
nodeType Number (read only) [from Node]
nodeValue String [from Node]
ownerDocument Document (read only) [from Node]
parentNode Node (read only) [from Node]
prefix String [from Node]
previousSibling Node (read only) [from Node]
referrer String (read only)
title String
URL String (read only)

Instance Methods

name returns description
addEventListener(type,listener,useCapture) (none) [from EventTarget]
appendChild(newChild) Node [from Node]
cloneNode(deep) Node Return a new copy of the node. [from Node]
close() (none)
createAttribute(name) Attr [from Document]
createAttributeNS(namespaceURI,qualifiedName) Attr [from Document]
createCDATASection(data) CDATASection [from Document]
createComment(data) Comment [from Document]
createDocumentFragment() DocumentFragment [from Document]
createElement(tagName) DocumentFragment [from Document]
createElementNS(namespaceURI,qualifiedName) Element [from Document]
createEntityReference(name) EntityReference [from Document]
createProcessingInstruction(target,data) ProcessingInstruction [from Document]
createTextNode([data]) Text Create a new Text node, with optional content. [from Document]
dispatchEvent(evt) Boolean Dispatches an event to the invoking object. [from EventTarget]
getElementById(elementId) Element [from Document]
getElementsByName(elementName) NodeList
getElementsByTagName(tagname) NodeList [from Document]
getElementsByTagNameNS(namespaceURI,localName) NodeList [from Document]
hasAttributes() Boolean [from Node]
hasChildNodes() Boolean [from Node]
importNode(importedNode,deep) Node Imports a node from another document to this document. [from Document]
insertBefore(newChild,refChild) Node [from Node]
isSupported(feature,version) Boolean [from Node]
normalize() (none) [from Node]
open() (none)
removeChild(oldChild) Node [from Node]
removeEventListener(type,listener,useCapture) (none) [from EventTarget]
replaceChild(newChild,oldChild) Node [from Node]
write(text) (none)
writeln(text) (none)