Document: Document() constructor
The Document
constructor creates a new
Document
object that is a web page loaded in the browser and serving as
an entry point into the page's content.
Syntax
js
new Document()
Parameters
None.
Specifications
Specification |
---|
DOM Standard # ref-for-dom-document-document① |
Browser compatibility
BCD tables only load in the browser