Interface HTMLDOMImplementation
- All Superinterfaces:
DOMImplementation
The
HTMLDOMImplementation interface extends the
DOMImplementation interface with a method for creating an
HTML document instance.- Since:
- DOM Level 2
-
Method Summary
Modifier and TypeMethodDescriptionorg.w3c.dom.html.HTMLDocumentcreateHTMLDocument(String title) Creates anHTMLDocumentobject with the minimal tree made of the following elements:HTML,HEAD,TITLE, andBODY.Methods inherited from interface DOMImplementation
createDocument, createDocumentType, getFeature, hasFeature
-
Method Details
-
createHTMLDocument
Creates anHTMLDocumentobject with the minimal tree made of the following elements:HTML,HEAD,TITLE, andBODY.- Parameters:
title- The title of the document to be set as the content of theTITLEelement, through a childTextnode.- Returns:
- A new
HTMLDocumentobject.
-