HTML Projects

HTML Project

Font In HTML
Previous Home Next

HTML Font is provide for font size ,color of font text and we can set content font size . It is entirely depends upon computer and browser that we can view our page by help of HTML Font attributes

Syntex used


Attribues of Font





Specifies the color of text

<face>font_familySpecifies the font of text
<size>numberSpecifies the size of text


<!DOCTYPE html>
<p><font size="3" color="red">Hello user' in</font></p>
<p><font size="2" color="blue">Hello user' in</font></p>
<p><font face="verdana" color="green">Hello user' in</font></p>
<p><strong>Note:</strong> The font element is not supported in HTML5.</p>

Output :

Note : HTML <font> Tag. Not Supported in HTML5.

Supporting Browsers
Previous Home Next