In the event that
the user can’t view the image—perhaps because he or she is accessing your
page over a very slow connection, because an incorrect
src attribute has been defined, or because the user
is visually impaired and is accessing the content using a screen
alt attribute provides alternative
content that can be displayed instead of the image.
alt attribute applied to the
area element will render over that
area if the image isn’t displayed.
alt attribute explains the link destination—a
<map name="bigthings" id="bigthings"> <area shape="rect" coords="35,4,205,108" href="http://en.wikipedia.org/wiki/Australia's_Big_Things" alt="Australia's Big Things (on Wikipedia)"/> ⋮ </map> <p><img src="giant-prawn.jpg" alt="The Giant Prawn at Ballina" border="0" usemap="#bigthings"/></p>
attribute takes as its value text that’s equivalent to the purpose or
destination of the link (as defined by the
href attribute). For a full rundown of how best
to handle content inside the
alt attribute, refer
alt attribute, support for the
application to the
area element is poor. In cases where
the image was unavailable, only the
alt attribute was displayed by the tested browsers.
The alternative text for the clickable areas defined by the
wasn’t rendered by any browser except Opera versions 9.5 and
There are no comments yet.