IMG:
Attributes


ALIGN

 [tree logo] '><br>
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.</p>
<p>Since the height of an inline image is fixed, but the height of text
is not known to the author (many browsers allow the user to adjust how
elements are displayed), inserting an IMG in a run of text will very
likely cause the spacing between lines to be disturbed. If you must
include an image in a run of text, small (i.e. short) images will be
least disruptive</p>
<p>
<H3><BR>Value(s)</H3>
<UL COMPACT>
<LI>top</LI>
<LI>middle</LI>
<LI>bottom</LI>
</UL>
<P>
<H3><BR>Default Value</H3>
<STRONG>#IMPLIED</STRONG>
<P>
<HR><H2>ALT</H2>
<h3><img src=
SUL & AIR Conventions

All IMG tags should include an ALT text unless the img is strictly decorative. Not only does it help people with non-graphic displays, it makes your document useful visually impaired people using alternative reading devices
           ----

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

Example

<img src='graph1.gif' alt=' [Graph of Sales Growth'] '>
<img src='myprettyface.gif' alt=' [Face] '>
<img src='fancyline' alt=' ------------------ '>


Value(s)

CDATA


Default Value

#IMPLIED


ISMAP

 [tree logo] '><br>
<img src=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.

Note that for the ISMAP tag to have any effect, some configuration must be done at the server. On some servers setting up an imagemap is quite simple, on others the process is more involved and may involve some programming. Merely including the ISMAP attribute in an img tag in your document will not magically make it a 'clickable map'.

Example

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


Value(s)

ISMAP


Default Value

#IMPLIED


SDAPREF


Value(s)

CDATA


Default Value

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


SRC

 [tree logo] '><br>
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 href=A tag. SRC is mandatory.


Value(s)

CDATA


Default Value

#REQUIRED


Back to IMG


html-s DTD