Connected: An Internet Encyclopedia
5.10. Image: IMG

Up: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 1866
Up: 5. Document Structure
Prev: 5.9. Horizontal Rule: HR
Next: 6. Characters, Words, and Paragraphs

5.10. Image: IMG

5.10. Image: IMG

The <IMG> element refers to an image or icon via a hyperlink (see 7.3, "Simultaneous Presentation of Image Resources").

HTML user agents may process the value of the ALT attribute as an alternative to processing the image resource indicated by the SRC attribute.

Attributes of the <IMG> element:

ALIGN
alignment of the image with respect to the text baseline.

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

ISMAP
indicates an image map (see 7.6, "Image Maps").

SRC
specifies the URI of the image resource.

Examples of use:

    <IMG SRC="triangle.xbm" ALT="Warning:"> Be sure
    to read these instructions.

    <a href="http://machine/htbin/imagemap/sample">
    <IMG SRC="sample.xbm" ISMAP>
    </a>


Next: 6. Characters, Words, and Paragraphs

Connected: An Internet Encyclopedia
5.10. Image: IMG