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