IMG:
Attributes


ALIGN

ALIGN tells the browser how to align the image with the neighbouring text. BOTTOM aligns the bottom of the image with the bottom of text, and is the default. MIDDLE aligns the middle of the image with the middle of text, and TOP aligns the top of the image with the top of text. This attribute is optional.

Values

Default Value
#IMPLIED

ALT

Optional alternative text as an alternative to the graphics for display in text-only environments.

Values
CDATA

Default Value
#IMPLIED

ISMAP

Many servers and browsers also support the ISMAP attribute. This attribute marks the image as an active image map. This allows the user to click the mouse over the image and have different regions of the image cause different actions.

Values
ISMAP

Default Value
#IMPLIED

SRC

The value of this attribute is the URL of the document to be embedded. Its syntax is the same as that of the HREF attribute of the A tag. SRC is mandatory.

Values
CDATA

Default Value
#REQUIRED


Go Back to IMG


HTML 2.0 DTD