Returns the currently focused element in the document
Attaches an event handler to the document
Adopts a node from another document
Deprecated
Deprecated
Returns the absolute base URI of a document
"Sets or returns the documents body (the body element)"
Deprecated
Returns the character encoding for the document
Closes the output stream previously opened with document.open()
Returns all name/value pairs of cookies in the document
Creates an attribute node
Creates a Comment node with the specified text
Creates an empty DocumentFragment node
Creates an Element node
Creates a new event
Creates a Text node
Returns the window object associated with a document
Controls whether the entire document should be editable or not.
Returns the Document Type Declaration associated with the document
Returns the Document Element of the document (the html element)
Deprecated
Sets or returns the location of the document
Returns the domain name of the server that loaded the document
Deprecated
Returns a collection of all embed elements the document
Deprecated
Returns a collection of all form elements in the document
Returns the element that has the ID attribute with the specified value
Returns an HTMLCollection containing all elements with the specified class name
Returns an live NodeList containing all elements with the specified name
Returns an HTMLCollection containing all elements with the specified tag name
Returns a Boolean value indicating whether the document has focus
Returns the head element of the document
Returns a collection of all img elements in the document
Returns the DOMImplementation object that handles this document
Imports a node from another document
Deprecated
Returns the date and time the document was last modified
Returns a collection of all a and area elements in the document that have a href attribute
Removes empty Text nodes
Deprecated
Opens an HTML output stream to collect output from document.write()
Returns the first element that matches a specified CSS selector(s) in the document
Returns a static NodeList containing all elements that matches a specified CSS selector(s) in the document
Returns the (loading) status of the document
Returns the URL of the document that loaded the current document
Removes an event handler from the document (that has been attached with the addEventListener() method)
Deprecated
Returns a collection of script elements in the document
Deprecated
Sets or returns the title of the document
Returns the full URL of the HTML document
Writes HTML expressions or JavaScript code to a document
Same as write()