Name

altHTML — NN n/a IE 4 DOM n/a

Synopsis

Read/Write

HTML content to be displayed if the object or applet fails to load. This can be a message, static image, or any other HTML that best fits the scenario. There is little indication that setting this property on an existing APPLET object has any visual effect.

Example

document.myApplet.altHTML = "<IMG SRC='appletAlt.gif'>"

Value

Any quoted string of characters, including HTML tags.

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.