package js.html
extends Element › DOMElement › Node › EventTarget
Available on js
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 also:
color:StringIs a DOMString that reflects the color HTML attribute, containing either a named color or a color specified in the hexadecimal #RRGGBB format.
face:StringIs a DOMString that reflects the face HTML attribute, containing a comma-separated list of one or more font names.
size:StringIs 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.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/FontElement.html