# HTML(Image)

Version Ref: 5.0 (not included in filePro Lite)

Syntax:

HTML:IM :AL "CENTER"

HTML Function | TAG | Tag Code | Tag Value | Attr | Value | # of Values
Image | <IMAGE> | :IM | <none> | :AL | Alignment | 1
|  |  |  | :SR | Source | 1
|  |  |  | :AT | Alternate | 0
|  |  |  | :HT | Height | 1
|  |  |  | :BO | Border | 1
|  |  |  | :WI | Width | 1
|  |  |  | :HS | Horizontal Space | 1
|  |  |  | :VS | Vertical Space | 1
|  |  |  | :US | USEMAP | 1
|  |  |  | :IS | ISMAP | 1

Description:

The :IM tag is used to insert images within text. These are often called "inline" images.

Note: The :IM tag is not a block tag by itself, so it must be used only within a block element. The location of the image file should be specified in the :SR attribute. It can be a relative or an absolute URL. When the image cannot be displayed, the browser should display the :AT text instead. The :WI and :HI attributes should contain the image's dimensions. This allows a browser to lay out the page in advance, as it now knows where the text below the image should be drawn.

:AL controls the alignment of the image with respect to the text.

:VS and :HS is a numeric value indicating the number of pixels that should be left free around the image.

:BO is used when the image is a link. It indicates that the browser should draw a border of the indicated size around the image to show that it is a link. It's most often used as :BO=0 to turn it off.

:IS and :US are used for imagemaps. The :IS attribute specifies that the link that this image is in goes to an imagemap program on the server, so the browser can send the coordinates of the selected location to the server. USEMAP is used for the client-side imagemap. It specifies the URL of the imagemap information. Support for this is limited, especially if the URL points to a different document rather than an inline anchor. See the section on the MAP tag for more information about client-side imagemaps.