FontElement
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.
Documentation HTMLFontElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Instance Members
color: String
Is a DOMString
that reflects the color
HTML attribute, containing either a named color or a color specified in the hexadecimal #RRGGBB format.
face: String
Is a DOMString
that reflects the face
HTML attribute, containing a comma-separated list of one or more font names.
size: String
Is a DOMString
that reflects the size
HTML attribute, containing either a font size number ranging from 1 to 7 or a relative size to the size
attribute of the basefont
element, for example -2 or +1.