Site hosted by Angelfire.com: Build your free website today!
       
The Digital Reference Section
 
HTML Basics
Mr. Rodrigo Silvano
C
omputer Engineering Department
Don Bosco Technical College
 
Inline Image EXAMPLE Application

<IMG>
Definition
This tag displays images in your document. It provides the image source, the placement of the image in your page, and the behavior.

Attributes
ALT="text"- Gives an alternative string to display in the browser if the browser has no graphics capability or if it is turned off.
ALIGN=LEFT|RIGHT|TOP|MIDDLE|BOTTOM - Sets the alignment for the image and the text around it.
BORDER=number - Gives the size of the border around the image.
HEIGHT=pixels - Gives the size to which the image is scaled to.
HSPACE=number - Gives the number of extra blank spaces or margins around the image.
ISMAP - Indicates that the image is a clickable map.
SRC="URL" - This is a required attribute. URL specifies the location of the image file.
USEMAP=map-name - Identifies the picture as a client-side imagemap and gives a <MAP> that is used to act on the user's clicks.
VSPACE=number - Gives the number of extra blank spaces or margins around the image.
WIDTH=pixels - Gives the size to which the image is scaled to.

Use
Use this tag to add images to your pages to give it more impact and interest to your readers.

This is an HTML code example that uses the inline image tag.
   
This is the generated page for the given code above.

The PinoyTechZone.Com
Copyright 2002-2003
All rights Reserved