Home >>HTML Tutorial >HTML Font
Font tag is used to text specification. Face attribute of <font> tag is used to set the font of the text. Size attribute is used to specify the size of text. Color attribute of <font> tag is used to specify the color of text.
Eg of font color property
<font color="green"> welcome user </font>
welcome user
in the above example we set color value( green) ,the statement (welcome user) written between the tag will be green because the value of color is green.
<font color="green" face="Calibri"> welcome user </font>
welcome user
in the above example we set face value("calibri") with color value("green") and output of the text statement(welcome user) with calibri face.
<font color="green" face="Calibri" size="+2"> welcome user </font>
in the above example if we set the size with (value=+2). it will increase the size of text statement. Maximum font size can set "+7"