Document
Represents a document node.
Gets the currently focused element, that is, the element that will get keystroke events if the user types any.
Gets or sets to indicate whether loading the document should be an asynchronous or synchronous.
Gets or sets the character encoding of the current document.
Gets the window object associated with the document or null if none available.
Gets the document type.
Gets the root element of the document.
Gets the URI of the current document.
Gets the DOMImplementation object that handles this document.
Gets the encoding that was used when the document was parsed.
Gets a string containing the date and time on which the current document was last modified.
Gets or sets the URI of the current document.
Gets or sets the ready state of the document.
Gets the URI of the page that linked to this page.
Gets a list of stylesheet objects for stylesheets explicitly linked into or embedded in a document.
Gets a live list of all of the currently-available style sheet sets.
Copies all (Document) properties of the source to the target.
Tries to find a direct child of a certain type.
Gets an element by its ID.
Appends nodes to current document.
Creates a new attribute node, and returns it.
Creates a new attribute node with a namespace, and returns it.
Creates a new CDATA section node, and returns it.
Creates a new comment node, and returns it.
Creates an empty DocumentFragment object.
Creates a new element with the given tag name.
Creates a new element with the given tag name and namespace URI.
Creates an EntityReference object. In addition, if the referenced entity is known,
the child list of the EntityReference node is made the same as that of the corresponding
Entity node.
Creates an event of the type specified.
Creates a ProcessingInstruction node given the specified name and data strings.
Returns a new Range object.
Creates a new Text node.
Returns the Element whose ID is given by elementId. If no such element exists, returns null.
The behavior is not defined if more than one element have this ID.
Returns a set of elements which have all the given class names.
Returns a NodeList of elements with the given tag name. The complete document is searched, including the root node.
Returns a list of elements with the given tag name belonging to the given namespace.
The complete document is searched, including the root node.
Creates a copy of a node from an external document that can be inserted into the current document.
Prepends nodes to the current document.
Returns the first element within the document (using depth-first pre-order traversal
of the document's nodes) that matches the specified group of selectors.
Returns a list of the elements within the document (using depth-first pre-order traversal
of the document's nodes) that match the specified group of selectors.