Make your own free website on Tripod.com

How to change your
Text and Link Colors?

By Kushinator

The <BODY> Statement:

      First find the <BODY> statement in your HTML code. Every HTML page has to have a <BODY> statement. What most people don't realize is that the <BODY> statement can be used to change the text and link colors of your page.


Text Color:

      In order to change the page's text color, simply add the TEXT attribute or option to your already existing <BODY> statement. An example is shown below.       This will change the page's text to a dark green color. Don't forget to include the "#" sign with your color codes. For more on colors visit my Six Digit Color Codes tutorial.


Link Color:

      You can also change the colors of your links. In fact, you can change the color of a link, an activated link and/or a visited link. Let's look at the three attributes a little closer.

Here's an example of a <BODY> statement using these attributes:

      The colors used above were chosen arbitrarily, use any colors you wish. Play around with different combinations and see what you can come up with. Don't forget to include the "#" sign with your color codes. For more on colors visit my Six Digit Color Codes tutorial.