Name
altHtml — NN n/a IE 4 DOM 1
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 are inconsistencies in Internet Explorer with
regard to this property’s casing. The Win32 version requires
altHtml
; the Mac version requires
altHTML
.
Example
document.all.myObject.altHtml = "<IMG SRC='objectAlt.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.