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





Please Login to comment...