HTML Basics

FONT FAQ

Fonts

1. How do I change the size of the text on my web page?

To use absolute sizing:

<.FONT SIZE="4"> text comes here <./FONT> with 1 to 7 being the available sizes to use and 3 being the default size set in the browser font size preferences.

To use relative sizing:

<.FONT SIZE="+3"> text comes here <./FONT> with values to use from -2 to +3.


***Note: We've added a period to HTML tags between the < and tag for display purposes. Do not use the period in your html documents. Eg. use and not <.tag>


2. How do I change the color of text on my web page?

Use this tag:

<.FONT COLOR="value">Text goes here<./FONT>

The value can be one of the 16 named colors, an RGB code, or a Hex code.
To view all of the names and codes Color Chart


***Note: We've added a period to HTML tags between the < and tag for display purposes. Do not use the period in your html documents. Eg. use and not <.tag>


3. How do I change the font on my web page?

Use this tag:

<.FONT FACE="name">text comes here <./FONT>

The font name (font face) will only work for those who have the font installed on their computer.

These are available fonts for web pages:
Arial, Arial Black, Verdana, Comic Sans MS, Courier New, Impact, Times New Roman, Georgia, Trebuchet MS, Monotype.com, WebDings.

You will often see Geneva, Palatino and Helvetica (Mac), too.

You can download the most commonly used web page fonts at:
http://www.microsoft.com/truetype/default.htm


***Note: We've added a period to HTML tags between the < and tag for display purposes. Do not use the period in your html documents. Eg. use and not <.tag>


4. Can font face, color and size info be combined into one tag?
Yes. Use this tag:

<.FONT FACE="name" SIZE="n" COLOR="#000000">Text goes here<./FONT>

The attributes you use will be applied to all of the text between the opening and closing font tags.


***Note: We've added a period to HTML tags between the < and tag for display purposes. Do not use the period in your html documents. Eg. use and not <.tag>


5. How do I change the color of links on my web page?

The color of links and visited links is changed in the body tag of your web page using LINK and VLINK (visited link):

<.BODY BGCOLOR=#000000 TEXT=#FF00FF LINK=#0000FF VLINK=#FF0000  ALINK=#FF0000>

This tag will change the background color to black.
Text is pink, links are blue and visited links are red.
Color codes can be found at: Color Chart


***Note: We've added a period to HTML tags between the < and tag for display purposes. Do not use the period in your html documents. Eg. use and not <.tag>

Top of page