File: img.attr.html

package info (click to toggle)
perlsgml 1996Oct09-6
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 2,452 kB
  • ctags: 792
  • sloc: perl: 4,639; makefile: 167
file content (95 lines) | stat: -rw-r--r-- 2,608 bytes parent folder | download
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 &lt;IMG&gt; element, the &lt;IMG&gt;
element must be contained in an
<a href="a.html">&lt;A&gt;</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 &lt;A&gt; element.  For example, if a
document contains:
</p>
<pre>
   &lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;
   &lt;head&gt;&lt;title&gt;ImageMap Example&lt;/title&gt;
   &lt;BASE HREF="http://host/index"&gt;&lt;/head&gt;
   &lt;body&gt;
   &lt;p&gt; Choose any of these icons:&lt;br&gt;
   &lt;a href="/cgi-bin/imagemap"&gt;&lt;img ismap src="icons.gif"&gt;&lt;/a&gt;
</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 = &lt;Fig&gt;&lt;?SDATrans Img: #AttList&gt;#AttVal(Alt)&lt;/Fig&gt;</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>