Module jdk.xml.dom

Interface HTMLHtmlElement

All Superinterfaces:
Element, HTMLElement, Node

public interface HTMLHtmlElement
extends HTMLElement
Root of an HTML document. See the HTML element definition in HTML 4.0.

See also the Document Object Model (DOM) Level 2 Specification.

Since:
1.4, DOM Level 2
  • Method Details

    • getVersion

      String getVersion()
      Version information about the document's DTD. See the version attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.
    • setVersion

      void setVersion​(String version)