Creates an
HTMLDocument
object with the minimal tree made
of the following elements:
HTML
,
HEAD
,
TITLE
, and
BODY
.
Returns:
A new
HTMLDocument
object.
Parameters:
-
title - The title of the document to be set as the content of the
TITLE
element, through a child
Text
node.