HTML The tag - Not supported in HTML5
Example
Specify the size, font, and color of text:
<font size="3" color="red">This is some text!
font
<font size="2" color="blue">This is some text!
font
<font face="verdana" color="green">This is some text!
font
Try it »
Browser support

All major browsers support tag.
Tag Definition and Usage Notes
HTML5 does not support tag. Please use CSS instead.
In HTML 4.01, The element is deprecated.
The tag specifies the font, font size, and font color of text.
Tips and Notes
**Tip:** Please use CSS to define the text'sfont, size, and color.
Differences between HTML 4.01 and HTML5
HTML5 does not support The tag, deprecated in HTML 4.01
Optional Attributes
| property | Value | Description |
|---|---|---|
| color | *rgb(x,x,x) |
#xxxxxx
colorname* | Not supported in HTML5. Deprecated in HTML 4.01. Specifies the color of the text. | | face | font_family | Not supported in HTML5. Deprecated in HTML 4.01. Specifies the font of the text. | | size | number | Not supported in HTML5. Deprecated in HTML 4.01. Specifies the size of the text. |
Standard Attributes
In HTML 4.01, The tag supports the following standard attributes:
| property | Value | Description |
|---|---|---|
| class | classname | Specifies the class name of an element |
| dir | rtl | |
| ltr | Specifies the text direction of the content in an element | |
| id | id | Specifies the unique id of an element |
| lang | language_code | Specifies the language code of the content in an element |
| style | style_definition | Specifies the inline style of an element |
| title | text | Specifies extra information about an element |
For a complete description, please visitStandard Attributes.
Event attribute
In HTML 4.01, The tag does not support any event attributes.
For a complete description, please visitEvent attribute.