In addition to the src
attribute,
the <img>
tag also
takes an alt
attribute. This attribute specifies
text which can be displayed by a nongraphical browser
which can't display the image itself.
It's recommended (required in HTML 4) that such
an alternate text be included with
every <img>
element, for the benefit of
users who can't (or don't want to) view graphics.
For example,
the code
<img src="crest.gif" alt="[McGill crest]">
would include an image with the alternate text '[McGill crest]'.
(valid except for
embed
element)
Last modified: Sat, 2007 Mar 10 15:45:22
Slide show generated from html.html by Weasel 2007 Mar 10