AVOIDNot in HTML5Obsolete
The <font> element changes the font size and color for text in its contents. However, it's deprecated in HTML 4.01 and obsolete in HTML5. Use CSS instead.
Attributes for <font>
Type | Attribute List |
'Standard' Attributes | "color", "face", and "size" |
Notes
- The font element is a presentational element. Presentational elements include font, b, i, big, small, and others. Use CSS for presentation instead. Use HTML elements only for content and structure and not for layout and presentation. Use the em and strong elements for structural emphasis.
Recommended Links
Search Engine Links (for more information)