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.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.