- align
- This specifies where the image will be placed on the screen, and how
text will react to it. (Will it wrap around it? Will it start at the
bottom of the image?) The values you can use for this are: left,
right, top, texttop, middle, absmiddle, baseline, bottom, or absbottom.
With the left or the right values, text will wrap. Others do different
things; experiment! Example:
<img src=picture.gif align=left>
- width
- Specifies how wide the image should be. This speeds up the apperent
loading speed of your document. You can either use an absolute size in
pixels, or you can specify how big it should be relative to the width of
the document. Exmaple:
<img src=picture.gif width=90%>
- height
- Specifies the height of the image. It's exactly the same as width.
<img src=picture.gif height=100>
- border
- This lets you ask for a specific border size. It will be the color of
the text. This is useful if you have a loud background, and want to
seperate your pictures visually. Also, when a picture is a hyperlink,
HTML usually puts a blue border around it. Making the border equal to zero
will eliminate that often unwanted blue border. Example:
<img src=picture.gif border=0>
- vspace 'n hspace
- These tags let you specify how far away (in pixels) the text should stay
from the image. Example:
<img src=picture.gif vspace=5 hspace=7>