| IMG |
|
| This tag is used to insert an image into the document, and can be used with the ISMAP= and USEMAP= tags to implement image mapping. For example: |
|
| <IMG SRC="logo.gif" ALT="LOGO" > |
|
| IMG Attributes: |
|
| ALIGN="LEFT, RIGHT, TOP, MIDDLE or BOTTOM" |
| This tag is used to define how the image will be aligned within the document. ALIGN="LEFT" will align the image flush to the left side of the document, ALIGN="RIGHT" will align the image flush to the right side of the document. The ALIGN="TOP" and ALIGN="BOTTOM" will align the images flush with the TOP and BOTTOM of the document. |
|
| BORDER="n" |
| This attribute is used to define the thickness of the border around the displayed image. The default is zero, and the border will be displayed in the default color of normal text within the document unless specified. |
|
| CLASS=" ... " |
| This attribute indicates the style 'class' applicable to the tag to which it has been assigned, the style 'class' being a function of a style sheet. For example, assume the style class 'relaxed' includes text with a font size of 8, and the style class 'active' includes text with a font size of 12. Using the CLASS="relaxed" attribute with a tag will cause the text within that tag to be displayed with a font size of 8. Using the CLASS="active" attribute with a tag will cause the text within that tag to be displayed with a font size of 12. |
|
| CONTROLS |
| This attribute specifies whether the controls for the file, such as volume controls for a sound file, will be displayed. |
|
| DATAFLD=" ... " |
| This attribute indicates the location of an existing column, the contents of which may be called or acted upon. |
|
| DATASRC=" ... " |
| This attribute defines the location of the tabular data to be bound. |
|
| DYNSRC=" ... " |
| This attribute defines the absolute or relative location of a 'dynamic' file, such as video or sound file. |
|
| HEIGHT="n" |
| This attribute specifies the HEIGHT, measured in pixels, of the object to which it has been assigned. |
|
| HSPACE="n" |
| This attribute will set the amount of blank space, measured in pixels, on either side of the object. |
|
| ID="n" |
| The ID attribute is used to assign a unique ID selector (identification) to the tag in which it is invoked. A style may be assigned to that ID, which will effect only that one instance of the attribute. |
|
| ISMAP |
| This attribute is used to indicate that the image is to function as a clickable image map. |
|
| LOWSRC="URL" |
| This attribute is used to define the absolute or relative loaction of a lower resolution version of the image. |
|
| LOOP="n" or "INFINITE" |
| Where INFINITE is the default value This attribute defines the number of times the file, such as a sound file, will be run. A value of INFINITE will play continuously. |
|
| NAME=" ... " |
| This tag is used to mark a location within a document with a unique name. This named location can then be quickly moved to by means of a hyperlink using the HREF="#URL" attribute. Note the pound (#) sign before the URL. The pound sign used in this way indicates to the browser that the target location has been defined by the NAME=" ... " attribute. |
|
| SRC="URL" |
| This attribute defines the relative or absolute location (URL) of the image to be embedded. |
|
| START="FILEOPEN" or "MOUSEOVER" |
| This attribute is used to define the action that will trigger the file. For example, a movie file with the START="FILEOPEN" attribute will begin playing immediately after the movie file is finished downloading. A value of START="MOUSEOVER" will play the movie only when the mouse pointer is positioned over the image. |
|
| STYLE=" ... " |
| Used to specify which style sheet commands to apply to the instance of the STYLE attribute invoked within the tag. |
|
| TITLE=" ... " |
| The TITLE attribute is used to display a note or information in a popup window pertaining to the object to which it was assigned. The popup window is invoked by holding the mouse pointer over the object. |
|
| USEMAP="URL" |
| This attribute is used to specify the relative or absolute (URL) location of the client-side image map. |
|
| VRML=" ... " |
| This attribute defines the absolute or relative location (URL) of a VRML World to be embedded within the document. |
|
| VSPACE="n" |
| This attribute defines the amount of blank space to be displayed at the top and bottom of the object, and is measured in pixels. |
|
| WIDTH="n" |
| This attribute defines the width of the image, and is measured in pixels. The image will be made larger or smaller to fit into the area specified. To display the image as it was intended, specify the actual intended width of the image. |
|
This tag also accepts the following Event Handlers:
onAbort
onAfterUpdate
onBeforeUpdate
onBlur
onClick
onDblClick
onDragStart
onError
onFocus
onHelp
onMouseDown
onMouseUp
onMouseOver
onMouseMove
onMouseOut
onKeyPress
onKeyDown
onKeyUp
onResize
onRowEnter
onRowExit
onSelectStart |