HTML | <font> face Attribute
The HTML <font> face Attribute is used to specify the font family of the text inside <font> element.
Syntax:
<font face="font_family">
Attribute Values: It contains single value font_family which is used to specify the font family. Several font family can be used by separating comma.
Note: The <font> face attribute is not supported by HTML5.
Example:
<!DOCTYPE html> <html> <head> <title> HTML font face Attribute </title> </head> <body> <font size="6" face="verdana"> GeeksforGeeks! </font> <br> <font size="6" face="arial"> GeeksforGeeks! </font> <br> <font size="6"> GeeksforGeeks! </font> </body> </html> |
Output:

Supported Browsers: The browser supported by HTML <font> face attribute are listed below:
- Google Chrome
- Internet Explorer
- Firefox
- Safari
- Opera
Recommended Posts:
- HTML | <basefont> face Attribute
- CSS | @font-face rule
- HTML | max attribute
- HTML | low Attribute
- HTML | alt attribute
- HTML | min Attribute
- HTML | <a> rel Attribute
- HTML | for Attribute
- HTML | <img> alt Attribute
- HTML | <img> src Attribute
- HTML | value Attribute
- HTML | dir Attribute
- HTML src attribute
- HTML | <li> value Attribute
- HTML | name Attribute
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


