HOME
SITE MAP
Free Flash tutor
Free HTML tutor
Free JavaScript tutor
Free DHTML tutor
Color Picker
MouseOver buttons
Menus : Dropdown
Page effects
Scrollbar
Free sub-domains
Make money : Banners
Increase traffic
Improve your website
|
Become a member
Member's Log-in
|
HTML LESSON 2
From now on <html>, <head>, and <title> tags will be omitted in order to keep things a bit cleaner.
In the last lesson, we finished with the body tags.
If you want to assign your website a background color, do the following:
<body bgcolor="green">
</body>
Whatever color you put between the "" will be color of your website.
You can also assign an image as the background of your website.
Alter the body tag in the following way:
<body background="name of image">
</body>
The name of image usually ends in a .gif or .jpg extension. You can use the following
image as in example:
swirlies.gif
Simply right click on the image and click on "save picture as" to use it in your website.
|
Freewebsite: Web design tutorials for the rest of us |
|
"These tutorials are written in such simple language and they're so much fun. They're simply
the best." - Mike
"Just wanted to drop you a line to say thank you. I created my website within a
month after reading your tutorials and now I make thousands with it." - Ken
|