Images

To add the image to your web page you add the following HTML to your page:

<IMG SRC="filename.gif">

Your image file must either be a .gif file or a .jpeg or .jpg file.

The ALT attribute

The ALT tag allows people who cannot see your image to see a text version.
The following is an example of how to use the ALT attribute:

<IMG SRC="wsl.JPG" ALT="Lim Wee Seng">

Lim Wee Seng

Observe that the wording DOG appear when the mouse is over the image.

Some other important IMG attributes are the HEIGHT and WIDTH attributes.

<IMG SRC="filename.gif" HEIGHT="200" WIDTH="245">

Do not use the HEIGHT and WIDTH attributes to resize their images.
The values of the HEIGHT and WIDTH tags should always be the actual dimensions
of your image.

There is also an ALIGN attribute.

ALIGN can have any of the following values: top,middle, bottom, left and right.
Top, middle and bottom refer to where neighboring text will begin.
Left and right refer to where the image will be displayed.

<IMG SRC="WSL.JPG" ALT="CLICK ME" ALIGN=RIGHT> CLICK ME
Click on the dogs to go back to main Page.....

This is done by simply adding the <A HREF=? > and </A> tag as show:-

<A HREF="main.html"><IMG SRC="DOG.JPG" ALIGN=RIGHT ALT="DOG"></A>