Document
The Document interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.
Inheritors
Properties
The activeElement read-only property of the Document interface returns the Element within the DOM that is receiving keyboard events such as keydown and keyup. This is usually analogous to the focused element.
The activeViewTransition read-only property of the Document interface returns a ViewTransition instance representing the view transition currently active on the document.
The adoptedStyleSheets property of the Document interface is used for setting an array of constructed stylesheets to be used by the document.
The Document.body property represents the or node of the current document, or null if no such element exists.
The Document.characterSet read-only property returns the character encoding of the document that it's currently rendered with.
The Document.childElementCount read-only property returns the number of child elements of the document.
The read-only childNodes property of the Node interface returns a live NodeList of child nodes of the given element where the first child node is assigned index 0. Child nodes include elements, text and comments.
The read-only children property returns a live HTMLCollection which contains all of the child elements of the document upon which it was called.
The Document.compatMode read-only property indicates whether the document is rendered in Quirks mode or Standards mode.
The Document.contentType read-only property returns the MIME type that the document is being rendered as. This may come from HTTP headers or other sources of MIME information, and might be affected by automatic type conversions performed by either the browser or extensions.
The Document.currentScript property returns the