IMG:
Attributes


ALIGN

Alignment of the image with respect to the text baseline.

Value(s)

Default Value

#IMPLIED

ALT

Text to use in place of the referenced image resource, for example due to processing constraints or user preference.

Value(s)

CDATA

Default Value

#IMPLIED

ISMAP

Indicates an image map. If the ISMAP attribute is present on an <IMG> element, the <IMG> element must be contained in an <A> element with an HREF present. This construct represents a set of hyperlinks. The user can choose from the set by choosing a pixel of the image. The user agent computes the head URI by appending `?' and the x and y coordinates of the pixel to the URI given in the <A> element. For example, if a document contains:

   <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
   <head><title>ImageMap Example</title>
   <BASE HREF="http://host/index"></head>
   <body>
   <p> Choose any of these icons:<br>
   <a href="/cgi-bin/imagemap"><img ismap src="icons.gif"></a>

and the user chooses the upper-leftmost pixel, the chosen hyperlink is the one with the URI `http://host/cgi-bin/imagemap?0,0'.

Value(s)

ISMAP

Default Value

#IMPLIED

SDAPREF

SDA/ICADD: Generated text prefix.

Value(s)

CDATA

Default Value

#FIXED = <Fig><?SDATrans Img: #AttList>#AttVal(Alt)</Fig>

SRC

Specifies the URI of the image resource.

Value(s)

CDATA

Default Value

#REQUIRED
Back to IMG


HTML 2.0 DTD