Deprecated in HTML5. Do not use.

<font> HTML Tag

Element of
Fonts and Web Typography
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.

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.