The <font> tag is used to add text style, size, and color to the text on your site. Use the size, color, and face attributes to customize your fonts. Use a <basefont> tag to set all of your text to the same size, face, and color.
The font and basefont tags are deprecated and should not be used. Instead, use css styles to manipulate your font. See our CSS Tutorial for more information.
Set the font size of your text and change the size as ypu like. The range of accepted values is from 1(smallest) to 7(largest).The default size of a font is 3.
Font size example:
<p>
<font size="5">font size 5</font>
</p>
Change the font color and look your style web page . Set the color of your font with color.
Color Example:
<font color="#660000">font color is hexcolor #660000</font>
<br />
<font color="green">This text is green text</font>
Output
font color is hexcolor #660000
This text is green text
Choose a different font face using any font you have installed. Be aware that if the user viewing the page doesn't have the font installed, they will not be able to see it. Instead they will default to Times New Roman. An option is to choose a few that are similar in appearance
Font Face Example:
<p>
<font face="Bookman Old Style, Book Antiqua, Garamond">
Example for font face font</font>
</p>
Output Example for font face font
With the basefont tag you will be able to set the default font for your web page. We highly recommend specifying a basefont if you plan on using any font with HTML. Below is the correct way to set your basefont.