Module jdk.xml.dom

Interface HTMLHeadingElement

All Superinterfaces:
Element, HTMLElement, Node

public interface HTMLHeadingElement extends HTMLElement
For the H1 to H6 elements. See the H1 element definition in HTML 4.0.

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

Since:
1.4, DOM Level 2
  • Method Details

    • getAlign

      String getAlign()
      Horizontal text alignment. See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.
    • setAlign

      void setAlign(String align)