top left
The HTML Source Logo


 html
Top Right
    
 Getting StartedHow Do I...TroubleShootingPromotionContact Us
 html
HTML
SEARCH THE SITE
advanced search



CATEGORIES
Home
Getting Started
HTML Cheat Sheet
Webmaster Tools
HTML Help Forum
Color Codes
Link to us









































bottom
HTML HTML HTML HTML
How Do I Change The Color of my text?


You can change the color of your text in two way's. The first way is changing the color of ALL the text on your page, the second is changing the color of just certain SECTIONS on your page

How to do it


      Changing All The Text

To change the color of all the text on your page do this:

First, in your <BODY> tag, type TEXT="?"

Next replace the ? with the name of the color code that you want. (If you don't know what the color code is of the color that you want to use, CLICK HERE to see a complete list of all the colors and there color codes.

            Example

So for example if I wanted to change the color of all the text on my web page to RED ( by the way the color code for red is #FF0000 ) my body tag would look like this:

<BODY text="#FF0000">


      Changing Section's Of Text

So you don't want all the text on your web page to be the same color, it doesn't have to be, here's how to change only certain section's of text:

First put a <FONT color="?"> in front of the section of text you want to change the color of.

Next replace the ? with the actual color code you want. If you don't know what the color code is of the color you want to use, CLICK HERE to see all the colors and there color codes.

Finally, put an ending </FONT> tag at the end of the section you want to change the color of.

            Example

I have a line of text on my web page that says "WELCOME TO MY NEW WEB PAGE", I want to change to color to red ( by the way the color code for red is #FF0000 ), my code would look like this:

<FONT color="#FF0000">WELCOME TO MY NEW WEB PAGE</FONT>


Seeing this in your browser would look like this:

WELCOME TO MY NEW WEB PAGE




< BACK







Company   |   Careers   |   Partners   |   Advertising   |   Help
Privacy Policy   |   Trademark Notices   |   User Agreement
2001 TheHTMlSource.com, INC. All Rights Reserved.



Site hosted by Angelfire.com: Build your free website today!