HTML face attribute
Example
Specify the default font on the page:
This is a header
This is a paragraph
Try it »
Browser support





Only Internet Explorer 9 and earlier IE versions support the face attribute.
Definition and Usage
HTML5 does not support
The face attribute specifies the default font of text in the document.
Compatibility notes
In HTML 4.01, the face attribute of the basefont element is deprecated; in XHTML 1.0 Strict DTD, the face attribute of the basefont element is not supported.
CSS syntax ( section):
CSS example: specify the default text font for the page
In our CSS tutorial, you can find more details about Details of the font-family attribute.
Syntax
HTML