Name
ALT — NN n/a IE 3 HTML 3.2
Synopsis
ALT=”textMessage"Required
Nongraphical browsers can use the ALT attribute
setting to display a brief description of the meaning of the
(invisible) image’s hotspots. At one time, it was thought that
the ALT message might by default be displayed in
the browser’s status bar when the area had focus or the cursor
rolled over the area. That function is now typically performed by
onMouse-Over event handlers and scripts. Keep in
mind that recent handheld computers usually have nongraphical
browsers (or allow graphics to be turned off for improved
performance). Don’t ignore the graphically impaired.
Example
<AREA COORDS="20,30,120,70" HREF="contents.html" TARGET="display" ALT="Table of Contents">
Value
Any quoted string of characters.
Default
None.
Object Model Reference
- IE
[window.]document.all.elementID.alt
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access