HTML Fonts

HTML <font></font> tags is used to specify the size, color, and face of the text presented on the HTML Document.

Note:- The font tags is deprecated and removed in HTML5.

Here is list of basic attributes for <font></font> tag –

Attribute Value Description
color #RRGGBB or #RGB

rgb(rrr%,ggg%,bbb%) or rgb(rrr,ggg,bbb)

colorname

This attribute specifies the color of text
face ont_family This attribute specifies the font of text
size Number This attribute specifies the size of text

Example:

Output:
This is example text