Fonts and font sizes let you control how the text of your web page will look. You can change the font, font color, or size of the text to make it look better. Here are some tutorials below.

To change the font to Comic Sans MS, I would type :

<font face="Comic Sans MS">

All text after this tag will be Comic Sans MS until you put the </font> tag, which then, you can manipulate the text even further. You can have more than one font in one web page, you will just need to end the font (with the </font> tag) where ever you want to start a new font.

You can also make the text a certain color, or even a certain size. To do this you would type :

<font size="5" color="#FF0000"> This tag will make all text red until you use the </font> tag, which will then return the font to its default (usually black, unless you use style), which then, after that, you can turn the text different colors. To get color codes for fonts, and backgrounds, click here.

To keep the font a certain color, or to make your hyper-links a certain color when someone mouses-over, you will need to use style, which is briefly explained down here.

To make my font color blue, my hyper-links green, and the color of my hyper-links red when someone mouses-over, and the font to be Arial (font size 11), in the head or body of the HTML document, I would type :

<style type="text/css">

<!--
A:link {text-decoration: none; color: 00FF33;}
A:visited {text-decoration: none; color: 00FF33;}
A:active {text-decoration: none; color: 00FF33;}
A:hover {text-decoration: none; color: #FF0000;}
-->
P, TD { COLOR:000099; FONT-SIZE:10pt;
FONT-FAMILY:Arial;}
</style>

This would make the default font color blue, so that when you use the </font> tag, your font color will automatically be returned to blue, not the default black.

That's pretty much it! Click here to return to the HTML Help main page.

 

Hosted by www.Geocities.ws

1