HTML CSS Reference/HTML Attributes Reference/alt — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Версия 09:21, 26 мая 2010
"alt" Example
<HTML>
<Title>Example For alt</Title>
<BODY>
<input type="image"
alt="This is an alt text"
border="0"
src="http://www.wbex.ru/style/logo.png"
width="99"
height="79">
</BODY>
</HTML>
alt is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<applet> <area> |
| |<img> <input> |
| |<input type="image"> <object> |
+----------------+--------------------------------------------------------------+
"alt" Syntax and Note
Note:
This attribute allows elements, such as embedded objects or images,
to have an alternate description.
In the case that a browser has images or objects turned off, it
will display the value of this attribute.
Syntax:
<element alt="value"> . . . </element>