Module jdk.xml.dom

Interface HTMLFontElement

All Superinterfaces:
Element, HTMLElement, Node

public interface HTMLFontElement
extends HTMLElement
Local change to font. See the FONT element definition in HTML 4.0. This element is deprecated in HTML 4.0.

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

Since:
1.4, DOM Level 2
  • Method Details

    • getColor

      String getColor()
      Font color. See the color attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.
    • setColor

      void setColor​(String color)
    • getFace

      String getFace()
      Font face identifier. See the face attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.
    • setFace

      void setFace​(String face)
    • getSize

      String getSize()
      Font size. See the size attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.
    • setSize

      void setSize​(String size)