Interface HTMLFontElement

All Superinterfaces:
Element, EventTarget, HTMLElement, InnerHTML, Node, NonDocumentTypeChildNode, ParentNode

public interface HTMLFontElement extends HTMLElement
Implements the document object model (DOM) representation of the font element. The HTML Font Element <font> defines the font size, font face and color of text.
  • Method Details

    • getColor

      @Deprecated String getColor()
      Deprecated.

      getColor.

      Returns:
      a String object.
    • setColor

      void setColor(String color)

      setColor.

      Parameters:
      color - a String object.
    • getFace

      @Deprecated String getFace()
      Deprecated.
      Sets or retrieves the current typeface family.
      Returns:
      a String object.
    • setFace

      void setFace(String face)

      setFace.

      Parameters:
      face - a String object.
    • getSize

      @Deprecated String getSize()
      Deprecated.

      getSize.

      Returns:
      a String object.
    • setSize

      void setSize(String size)

      setSize.

      Parameters:
      size - a String object.