Graphics HTML Help

How to Add Images and Backgrounds to your page




I get many notes wanting to know how to put these graphics on other pages. Here are some examples.
At the very bottom you will find how to add backgrounds.
Please Note: All of these instructions are assuming that you have taken the graphics and sent them to your directory. To get them to your directory you may either FTP the files or if your homepage is in Geocities you can use the E-Z Upload utility. The E-Z Upload is in the file manager which you may access on my main help page. For FTP you will find a link called Answer Point on the help page.

Image Tags

Very Simple way I suggest this for beginners.
<IMG SRC="nameofimage.gif">
Where name of image is you put the name of the Image that you have.

Alternative way to put Images on your page.


If you think,"well this is not hard ," try some of these other examples!


Border around Graphic
  • Specifies the Border thickness in pixels, including 0. This is also useful for images that are links, with no border. Example:
    <IMG SRC="nameofimage.gif" WIDTH=50 HEIGHT=125 BORDER=0>
Vertical Space and Horizonal Space Around Graphic
  • Specifies vertical and horizontal space around the image. This is useful for aligned images so the text will be a little padded and not wrap against the image. Example:
    <IMG SRC="nameofimage.gif" ALIGN=RIGHT WIDTH=40 HEIGHT=125 VSPACE=5 HSPACE=5>

How to add a Background to your page

  • To add a background image to your page, do the following:
    <HTML>
    <TITLE>My Homepage</TITLE>
    <HEAD>
    <BODY BACKGROUND="nameofimage.gif">
    This is how your page should look from the top to where you add your background tag.
    In the above example your background could also be a jpg file and not a gif. (My backgrounds are jpg's.) So you would just add .jpg in the place .gif

    How to make an Image Clickable

    Below is an example of a clickable image with a border of 4 pixels

    Html to include an image as clickable is below
    <a href="nameoffile.htm"><IMG SRC="nameofimage.gif"></a>

    Below is an example of a clickable image without a border.

    Html to include an image as clickable without a border.
    <a href="nameoffile.htm"><IMG SRC="nameofimage.gif"BORDER="0"></a>

    Html to include an image as clickable to go to another site.
    <a href="http://www.nameofsite.com/nameofdir"><IMG SRC="nameofimage.gif"BORDER="0"></a>
    In the above examples nameoffile is the name of the page you want the image to bring up (link to).

    Animated Graphics

    To include an animated graphic on your page take the graphic just like any non-animated graphic and put the animation on your page the exact same way. That's all there is to it.


    I hope this page explains how to put graphics and backgrounds on your page. For beginners I would use the basic tag for Images and the background tag. I have tried to make this as understandable as I could. If you would like to see any other instructions here feel free to tell me what instructions you would like added. If I see a need for it, I will add the instructions as soon as possible Thanks JP :-)








    This page is copyright © 2005 JPayne

    Back to Main Page