<IMG> Inline Images
|
DEFINITION Supplies image source, placement, and behavior information. Used to place graphics in a page. |
ATTRIBUTES ALT="text"
Supply an alternate string of text if the browser has no graphics capability or if the graphics are turned off. Also displays a string of text when the mouse is held over the image. |
| ALIGN=LEFT|MIDDLE|RIGHT|TOP|BOTTOM Sets the alignment of the image or of the surrounding text. |
BORDER=number
Specifies the size of a border to be drawn around the image. For a hyperlink image, the border is displayed in assigned link color. If the image is not a click able link then the border is invisible. |
HEIGHT=pixels
Along with WIDTH=, specifies the size to which the image is scaled. If the picture's actual dimensions differ from those specified, the picture is stretched to match the specification (avoid making an image bigger then the actual size, it will distort the image). |
HSPACE=number
With VSPACE=, specifies extra blank space or margins around the image. |
ISMAP
Indicates the image (or its text replacement) should be a click able map. This often involkes special map-handling software through the CGI interface on the Web server handling the request. |
SUGGESTED STYLE/USAGE Keep images small and use them sparingly. Graphics should be used to add impact and interest to pages without adding too much size, the smaller the image size the faster the load time. |
EXAMPLE <BODY> <CENTER>
<IMG SRC="images/flag.gif" WIDTH=184 HEIGHT=128 BORDER=0 ALT="United States Of America"> </CENTER> </BODY> |
 |