HTML Font - HTML Table - Phptpoint.com

HTML Font

/ins>

HTML Font Tag

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

Output

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.


Change the font face of the text

Output

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


Change the font size of the text

Output
welcome user

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”