|
|||||||||||||||||
|
To keep things a little cleaner I am only going to write what is in the <BODY> tags. I will omit the <HTML>, <HEAD> & <TITLE> tags. Needless to say, keep these in your document. <BODY> </BODY> Type something really cool. <BODY> Something really cool </BODY>
Whenever you make a change to your document, just save it, then hit the Reload button on your browser. In some instances just hitting the reload button doesn't quite do the trick... in that case hit Reload while holding down the SHIFT key. I think the first thing we are going to learn is how to change background colors. <BODY BGCOLOR="#CCFFCC"> Something really cool </BODY>
CCFFCC is computerese for light green. Here are a few more. The topic of colors and browsers is rather interesting. Some other time, I encourage you to come back to this section and learn a little about "web safe colors". You can specify a background image instead. (Note, the image should be in the same folder as your HTML file. More on this below.) <BODY BACKGROUND="swirlies.gif"> Something really cool </BODY>
![]() In order for the image to show up, the browser has to be able to find it. For now, we want the image to be in the same folder as your HTML document (page1.html). The easiest way to do this is to right click on the swirlies image above and choose Save Image As (or some variant thereof). Browse to wherever you put page1.html and save the image there. Later we'll get into this stuff in a little more detail. It's probably pretty obvious that the image is tiled. If you use a long skinny image you can get an effect like this... <BODY BACKGROUND="bluebar.gif"> Something really cool </BODY>
Here's the background image
| |||||||||||||||||
|
|||||||||||||||||