Module jdk.xml.dom

Interface HTMLDOMImplementation

All Superinterfaces:

public interface HTMLDOMImplementation extends DOMImplementation
The HTMLDOMImplementation interface extends the DOMImplementation interface with a method for creating an HTML document instance.
1.4, DOM Level 2
  • Method Details

    • createHTMLDocument

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