Wednesday, December 21, 2011

Give your fonts a face

In the very beginning you had to use H1 - H7 to change font "style." Then you were able to use the FONT SIZE tags followed by FONT COLOR tags. Finally the FONT FACE tags are here.
If you want to use the "Arial" font for a block of text, all you have to do is surround it with FONT FACE tags:
<FONT FACE="Arial">This is in Arial font</FONT>
This is Arial font
Of course, not all the computers are going to have the type of font you want your text to use. FONT FACE tags will let you specify more than one font face, so in case one font face is not available, browser will use the next available font face:
<FONT FACE="Garamond,Helvetica,Times">Hi!</FONT>

0 comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Best Web Hosting