跳转到主要内容

Document: Document() constructor

{{APIRef("DOM")}}

The Document constructor creates a new {{domxref("Document")}} object that is a web page loaded in the browser and serving as an entry point into the page's content.

Syntax

new Document()

Parameters

None.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}