Monday, June 8, 2009

Using a Background Color

. Monday, June 8, 2009

Add or change the background color on your page
Note: These effects can now all be achieved using Cascading Style Sheets.
If you want to use a background color on your page, you will need to begin by finding the <body> tag. Once you have found the tag, look for a command after the word body that says bgcolor="color". It may look like this:
<body bgcolor="gray">
Or the tag may have more commands inside and use hex codes, like this:
<body text="#000000" link="#A6CAF0" bgcolor="#808080">
And of course, the command may not be there at all. If this is the case, add it by placing a space after the word body and then type the command, like this:
<body bgcolor="gray" text="#000000" link="#A6CAF0">
Or if you don't have any other commands, just add it in like this:
<body bgcolor="gray">
To change the background color, replace the word gray inside the quote marks with a color name or a color hex code. For a list of some common color names and hex codes, click
here.
So, if you wanted to change the background color to green, you would type:
<body bgcolor="green">
Or you could use the hex code for green:
<body bgcolor="#008000">
After doing this, your page will have a green background. Beautiful! Now just use any color you like in the command, and add color your pages!
All right, we only have one more body tag section left! So let's go on to the next section:
Using a Background Image.
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