Read the basic of html font tag here.
Font face can be set to display any style of the font for the text. We can set different font face to different part of a same line of text. Note that the type of font we set in font face has to be available in client computer.
Deprecated : FONT tag and its attributes are not supported in HTML5 , better to use styling using CSS.
<font size="12" color="#0000cc" face="times new roman">This is simple</font>
Now here it is how it will appear.
This is simple
Here are some examples with different font face used inside font tag
face="times new roman"
times new roman
face="vardana"
vardana text
face="Arial"
Arial
face="Arial Black"
Arial Black
face="Comic Sans MS"
Comic Sans MS
face="Helvetica"
Helvetica text
face="Digital, Arial, Helvetica, sans-serif"
Digital, Arial, Helvetica, sans-serif
Using CSS for Font family
We can define font styling by using inline font style, internal font style and external font style.
This is Inline font style using Comic Sans MS Code is here.
<span style="font-family: 'Comic Sans MS';">This is Inline font style using Comic Sans MS</span>
More on using Font style with internal and external CSS