loose DTD: IMG element | WebReference

loose DTD: IMG element

IMG

The <IMG> element refers to an image or icon via a hyperlink.

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

NOTE
Some HTML user agents can process graphics linked via anchors, but not <IMG> graphics. If a graphic is essential, it should be referenced from an <A> element rather than an <IMG> element. If the graphic is not essential, then the <IMG> element is appropriate.

Examples of use:

    <IMG SRC="triangle.xbm" ALT="Warning:"> Be sure
    to read these instructions.
    <a href="https://machine/htbin/imagemap/sample">
    <IMG SRC="sample.xbm" ISMAP>
    </a>

Content


ATTRIBUTES
Empty CONTENT DECLARATION

Tag Minimization
Open Tag: REQUIRED
Close Tag: OPTIONAL

Parent Elements


Top Elements
All Elements
Tree


loose DTD