Deprecated in HTML5. Do not use.

<font> HTML Tag

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more

Sharing is caring!

Element of
6 Chapters Devoted To Fonts & Web Typography - Read Them Now
What does <font> HTML Tag do?
The <font> element was used to specify typographical display styles. It has been deprecated and fonts should be styled with CSS instead.
Display
inline

How to style fonts

The <font> element, along with most other style and design oriented HTML features, has been deprecated in HTML5. The correct way to control fonts and other styling is through CSS. For more information, see our tutorial on web typography.

Adam is a technical writer who specializes in developer documentation and tutorials.