This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

createHTMLDocument

Summary

Creates an HTML document.

Method of dom/Implementationdom/Implementation

Syntax

var htmlDocument = document.createHTMLDocument(title);

Parameters

title

Data-type
String

The value of the title element in the HTML document.

Return Value

Returns an object of type DOM NodeDOM Node

The created HTML document.

Related specifications

DOM Level 3 Core
Recommendation

Attributions