files/en-us/web/api/htmlfontelement/index.md
{{APIRef("HTML DOM")}}{{Deprecated_Header}}
Implements the document object model (DOM) representation of the font element. The HTML Font Element {{HTMLElement("font")}} defines the font size, font face and color of text.
{{InheritanceDiagram}}
Inherits properties from its parent, {{domxref("HTMLElement")}}.
color HTML attribute, containing either a named color or a color specified in the hexadecimal #RRGGBB format.face HTML attribute, containing a comma-separated list of one or more font names.size HTML attribute, containing either a font size ranging from 1 to 7 or a number relative to the default value 3, for example -2 or +1.No specific method; inherits methods from its parent, {{domxref("HTMLElement")}}.
{{Specifications}}
{{Compat}}