HTML <font> tag
When writing in HTML, the <font> tag was an inline element used to change certain qualities of a block of text on a web page. It was useful for changing a font's size, face, and color. The following sections contain information about this tag, including an example of it in use, as well as related attributes and browser compatibility.
Note: The <font> tag is not supported going forward; CSS should be used instead.
<font size="4" color="Green">Words and things.</font>
<font size="2" color="#c1c1c3">Text that looks different.</font>
<font face="Arial" color="Orange">I am a sentence!</font>
Words and things. Text that looks different. I am a sentence!
Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. The <font> tag is deprecated, but at one time it utilized the unique attributes contained in the following table.
|color||Designates the color of text|
|face||Designates the look of text|
|size||Designates the size of text|
|All versions *||All versions *||All version *||All versions *||All versions *|
*Until it is removed in a future version of HTML