How to Place Images into a Webpage
Section 1 - Types of Images There are several types of images available to use on a webpage. However, the two universal standards are JPEG Bitmaps and CompuServe Bitmaps (commonly known as GIF). Each has its own advantages and disadvatages.
To place an Image, simply insert the following code into your page:
<IMG SRC="URL to image" WIDTH="width in pixels" HEIGHT="height in pixels" ALT="Text description for those not capable of viewing images">
Section 3 - Placing Images as a background. To use an image as your pages background, make your <body> tag look like this:
<BODY BACKGROUND="URL to image" BGCOLOR="color similar to your image">
It is important to include the BGCOLOR, so that those not capable of graphics can still see your text easily. What if your background makes your text difficult to see, but you would still like to use it? There is still hope. You may notice that on this page, the text is on black background, with the imaged background bordering it. This is used by wrapping a table around your page's content, like so:
<BODY>
Section 4 - Using Images as bullets. To use an image as a bullet, you must first have a small image. You could shrink a large, but this usually has a less than useful effect. Once you have your image, enter the following code (be sure to place the space before you start your text):
<IMG SRC="URL to bullet image" WIDTH="12 (or your font size)" HEIGHT="12 (or your font size)" ALT="*"> Text<BR>
An example can be found in the list at the top of the page. Section 5 - Using Images as Horizontal Rules. To use an image as a Horizontal Rule, you need a short, wide image. Once you have your image, enter the following code:
<DIV align="center">
The bars between sections are examples of images as horizontal rules. You have now learned enough about images and their uses to begin your own creative designs. To go back, press the back image. |