HTML

HTML Projects

HTML Project

Font In HTML
Previous Home Next
adplus-dvertising

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

<font>..</font> 

Attribues of Font

AttributeValueDescription
<color>

rgb(x,x,x)

#xxxxxx

colorname

Specifies the color of text

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

Example

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

Output :

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

Supporting Browsers
Previous Home Next