1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
<HEAD>
<TITLE>IMG: Attributes</TITLE>
</HEAD>
<BODY>
<H1>IMG: <BR>Attributes</H1>
<HR><H2><A NAME="align">ALIGN</A></H2>
<P>
Alignment of the image with respect to the text
baseline.
</p>
<ul>
<li>`TOP' specifies that the top of the image aligns
with the tallest item on the line containing the
image.</li>
<li>`MIDDLE' specifies that the center of the image
aligns with the baseline of the line containing the
image.</li>
<li>`BOTTOM' specifies that the bottom of the image
aligns with the baseline of the line containing the
image.</li>
</ul>
<H3>Value(s)</H3>
<UL COMPACT>
<LI>top</LI>
<LI>middle</LI>
<LI>bottom</LI>
</UL>
<H3>Default Value</H3>
<STRONG>#IMPLIED</STRONG>
<HR><H2><A NAME="alt">ALT</A></H2>
<p>
Text to use in place of the referenced image resource,
for example due to processing constraints or user
preference.
</p>
<H3>Value(s)</H3>
<CODE>CDATA</CODE>
<H3>Default Value</H3>
<STRONG>#IMPLIED</STRONG>
<HR><H2><A NAME="ismap">ISMAP</A></H2>
<P>
Indicates an image map.
If the ISMAP attribute is present on an <IMG> element, the <IMG>
element must be contained in an
<a href="a.html"><A></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:
</p>
<pre>
<!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>
</pre>
<p>
and the user chooses the upper-leftmost pixel, the chosen
hyperlink is the one with the URI `http://host/cgi-bin/imagemap?0,0'.
</P>
<H3>Value(s)</H3>
ISMAP
<H3>Default Value</H3>
<STRONG>#IMPLIED</STRONG>
<HR><H2><A NAME="sdapref">SDAPREF</A></H2>
<p>
SDA/ICADD: Generated text prefix.
</p>
<H3>Value(s)</H3>
<CODE>CDATA</CODE>
<H3>Default Value</H3>
<STRONG>#FIXED = <Fig><?SDATrans Img: #AttList>#AttVal(Alt)</Fig></STRONG>
<HR><H2><A NAME="src">SRC</A></H2>
<p>
Specifies the URI of the image resource.
</p>
<H3>Value(s)</H3>
<CODE>CDATA</CODE>
<H3>Default Value</H3>
<STRONG>#REQUIRED</STRONG>
<HR>
Back to <A HREF="img.html"><STRONG>IMG</STRONG></A><P>
<HR>
<ADDRESS>
<A HREF="DTD-HOME.html">HTML 2.0 DTD</A>
</ADDRESS>
</BODY>
</HTML>
|