In the event that the user
cannot view the content of the
embed element - perhaps
because of a very slow connection, an incorrect
src attribute, or even
because the user is blind and is accessing the content using a screen
reader - the
alt attribute provides an alternative
to the content that can be used instead.
attribute clearly explains what the image in this
<embed src="giant-grasshopper.jpg" width="300" height="100" alt="A giant grasshopper on a roof-top"></embed>
For guidelines regarding the correct
usage of the
alt attribute, please refer to the
img element type.
Poorly supported when
used with the
embed element. None of the browsers
supported rendered alternative text on the page when the media referred to
src attribute were not available. For
images, you should instead use the
img element and the
alt attribute for that
element (which has excellent support).