Name
ALT — NN n/a IE 4 HTML n/a
Synopsis
ALT=”textMessage"Optional
If Internet Explorer does not have the facilities to load and run the
external media, the text assigned to the ALT
attribute is supposed to display in the document where the
EMBED element’s tag appears. Typically, this
text provides advice on what the page visitor is missing by not being
able to load the data (although IE also presents a dialog about how
to get plugin information from an online source).
Use the ALT attribute with care. If the external
data is not a critical part of your page’s content, you may
just want the rest of the page to load without calling attention to
the missing media controller in lesscapable browsers. The alternate
message may be more disturbing to the user than a missing media
player.
The equivalent powers are available in Navigator with the
NOEMBED element.
Example
<EMBED SRC="jazz.aif" ALT="Sound media player" HEIGHT=10 WIDTH=20></EMBED>
Value
Any quoted string of characters.
Default
None.
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