Monday, April 6, 2015

HTML - Font and Basefont

•The <font> tag is used to add style, size, and color to the text on your site. Use the size, color, and face attributes to customize your fonts. Use a <basefont> tag to set all of your text to the same size, face, and color.
Font Size
•Set the size of your font with size. The range of accepted values is from 1(smallest) to 7(largest).The default size of a font is 3.
HTML Code:
•<p>
•<font size="5">Here is a size 5 font</font>

• </p> 

Font Color
•Set the color of your font with color.
HTML Code:
•<font color="#990000">This text is hexcolor #990000</font> <br />
<font color="red">This text is red</font>

Font Face
•Choose a different font face using any font you have installed. Be aware that if the user viewing the page doesn't have the font installed, they will not be able to see it. Instead they will default to Times New Roman. An option is to choose a few that are similar in appearance.
HTML Code:
•<p> <font face="Bookman Old Style, Book Antiqua, Garamond">This paragraph has had its font...</font>
  </p>
 

make love

Author & Editor

Has laoreet percipitur ad. Vide interesset in mei, no his legimus verterem. Et nostrum imperdiet appellantur usu, mnesarchum referrentur id vim.

0 comments:

Post a Comment

 
biz.