Image Tags
The basic format of the image tag is
<img src="pathtoimage.gif">
ALIGN - controls the alignment of the image with regards to text
top
texttop
middle
absmiddle
baseline
baseline
bottom
absbottom
<img src="pathtoimage.gif" align="top">
WIDTH, HEIGHT - sets the size (in pixels) that the image will be scaled to. Providing these attributes does speed up the loading and document display.
<img src="pathtoimage.gif" width=200 height=300>
BORDER - places a border around the image. Assigning it a value will set the border to that thickness (in pixels)
<img src="pathtoimage.gif" border = 3>
VSPACE,HSPACE - control the amount of space around the image.
<img src="pathtoimage.gif" vspace= 5 hspace= 5>
Topics