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