CSS HTML Validator - The fast, all-in-one, HTML, CSS, Link, SEO, spelling, and accessibility checker for Windows, & htmlval for Mac and Linux
Home Help: <font> element

The <font> Element

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>
TypeAttribute 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)

Help us improve this page: Suggest a link or noteReport a problem