Monday, June 8, 2009

Changing the Default Text Color

. Monday, June 8, 2009

How to change the default font color on your page
Note: These effects can now all be achieved using Cascading Style Sheets.
Okay, to change your default text color in your HTML page, you will need to find your body tag. Now, look for the phrase text="" somewhere after the word body. You may have something like this:
<body text="black">
You may also see a weird number/letter combination, like this:
<body text="#000000">
Of course, you may not see either of these, or you may be creating the page from scratch. If you don't have the extra command yet, add it to your body tag like one of the examples above. If you have other commands, add this one onto the end, leaving a space after the previous command, like this:
<body bgcolor="blue" text="black">
Now, if you'd like to change the color, replace the black between the quote marks with a color name or hex code. For a list of some common color names and hex codes, click
here.
So, if you want to change the text color to red, you could use one of the following:
Using a color name:
<body text="red" >
Or using a hex code:
<body text="#FF0000">
Now, any text you type inside the body tags will show up as your new color in the Web browser. So, now you may want to change the link color as well. Well, that's coming up in the next section:
Changing the Link Color.
pagesource.com

0 komentar:

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

Post a Comment

 
Namablogkamu is proudly powered by Blogger.com | Template by o-om.com