The HTML <font> tag
HTML5 is not supported.
<font>
The tag is used in HTML 4 to specify font, font size, and text color.
What to Replace?
Example 1
Set the color of the text (using CSS):
<p style="color:red">This is a paragraph.</p> <p style="color:blue">This is another paragraph.</p>
Example 2
Set the font of the text (using CSS):
<p style="font-family:verdana">This is a paragraph.</p> <p style="font-family:'Courier New'">This is another paragraph.</p>
Example 3
Set the size of the text (using CSS):
<p style="font-size:30px">This is a paragraph.</p> <p style="font-size:11px">This is another paragraph.</p>
In our CSS tutorial, you can learn about CSS Text And CSS Fonts More Knowledge.