basic image code (no pair) |
<IMG SRC="http://domain.name.com/directory/filename.jpg"
width="NNN" height="NNN" ALT="picture"> (page will load faster if you specify the image dimensions in number of pixels) |
Controlling image size by number of pixels |
<IMG SRC="filename.jpg" width="250"
height="150" ALT="picture"> (Set width and height at number of pixels you would like it to be. This only works for scaling images down; scaling up will cause "pixel bloat") |
Controlling image size by % of screenwidth |
<IMG SRC="filename.jpg" width="65%"
ALT="picture"> (Consider the possibility that a large monitor may cause image enlargement and obvious pixels before using this option. Don't use within a table, either, or you may give Netscape a nervous breakdown.) |
Controlling image alignment | <IMG SRC="filename.jpg" width="250"
height="150"
align=left hspace=10 vspace=10 ALT="picture"> (hspace and vspace refer to numbers of pixels of blank space surrounding the image horizontally and vertically) |
<br clear=all> | Used to break text or other elements until the image has been cleared vertically |