The two formats used on webpages are GIF and JPEG, the GIF format can be also used for animations. To add graphic to your page, use the following code.
<img src="Welcome.gif">
It is polite to add an alternative text description and the size of the graphic. This is for people who don't load graphics, if their browswer doesn't support them, or they don't want to wait for graphics to download.
<img src="Welcome.gifquot; alt="Welcome.gif 1.0K">
In the <img src> tags you can also include:
Command |
Does what |
example |
width=x |
Sets the width of the image in pixels |
width=20 |
height=y |
Sets the height of the image in pixels |
height=40 |
hspace=a |
Set the horizontal space around the image |
hspace=2 |
vspace=b |
Sets the verital space around the image |
vspace=3 |
align= |
Set the alignment. |
align=middle |
Alignment options: top, texttop, middle, left, right, absmiddle, bassline absbottom, and bottom.
© 1997 Rupert G Squires
E-mail [email protected]