The DOMImplementation.createHTMLDocument() method creates a new HTML Document.
DOMImplementation.createHTMLDocument()
external Document createHTMLDocument([String title]);