Contact at mumbai.academics@gmail.com or 8097636691
Responsive Ads Here

Tuesday, 9 January 2018

HTML Font Tag

HTML Font Tag


Next Page
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”

No comments:

Post a Comment