createHTMLDocument

The createHTMLDocument JS DOMImplementation returns a document, with a basic tree already constructed including a title element, unless the title argument is omitted.

Syntax

doc = document.implementation.createHTMLDocument([title])

Parameters

title

The document's title or name.

Examples

1 · void

2 · title

HomeMenu