![]() |
||
| |
|
|
|
|
|
|
Building your first web page ( cont. ) Ok now that we have some color on our page ( although it may not be great looking ) lets add a bit more. Change the text between the <BODY></BODY> tags to read anything you want. I will change mine to read "This page has information about the PBX". Now, lets add an image to this page. Images are called using the <IMG> tag. A simple image tag looks something like this: <IMG SRC="thepathtoyourimagehere"> The text in between your quotes needs to specify the path to your image that you wish to use. For example, if you have a folder in the root of your directory called images, and your image name is 'logo1.jpg', the path would look something like this: <IMG SRC="http://www.icehousedesigns.com/images/logo1.jpg"> So now, we have a document that looks something like this. Looks kind of messy huh? Well lets clean it up a bit, using 2 different tags. The <BR> or break tag, and the <CENTER></CENTER> tags. Place the image statement between your two center tags, and add two <BR> tags after between your text that you wrote out and the image tag, and it should look something like this. Looks a little bit better. One variable of the IMG tag is that you can add what's called ALT text to your image. For example: <IMG SRC="yourimagehere" ALT="This is your image!"> This will make it so that when you move your mouse over the image and hold it there, whatever text you typed it will show up. Try it here. Next-Cleaning
up that page a little... |
|
||
|
© 2000-2004 IceHouse Designs, Inc. View Privacy Statement. |
||||