28/09/2014

HTML: Font

The <font> tag is used for modifying the type of a text, the size and the color. Use "size", "color" "face" attributes to personalize your text and the <basefont> tag to set the color, size and the style of a whole text. Mostly the "font" & "basefont" tags are not used much because is used CSS to establish a text attributes.
The Font Size Set the size of your font. There are accepted values between 1 the smallest and 7 the biggest. The standard value of a text is 3.
<p> <font size="5"> This is font size 5</font> </p>

Preview

This is font size 5
The font color

Set the color of the text <font color="#990000">This text is hexcolor #990000</font> </br> <font color="red">This text is red </font> This text is hexcolor #990000
This text is red