Available as an attribute in the MathML elements as well as on the <font> element, this attribute names a color in which the text should be displayed or printed.


Usage of this attribute is discouraged. The attribute was inherited as part of the XHTML table DTD and MathML DTD. Use is not recommended; if used at all, it should be restricted to table cells and equations.

Attribute Values

In Element

<font> Font
Value Meaning
Data characters Text, numbers, or special characters that name the color, typically as a color-code understood by most browsers.
Restriction: This attribute may be specified if the element is used.