Javascript Reference
Categories: OBJECT

javascript OBJECT alt

@March 15, 2008, 1:22 a.m.
altFirefox/Netscape/NN n/a IE 6(Win) Chrome/Safari/DOM n/a  

Read/Write  

Indicates the text to be displayed (or spoken) where the object element appears on the page when a browser doesn't download graphics (or is waiting for the image to download). Presumably, Microsoft implemented this nonstandard property for occasions when the object element is used for the display of images, rather than the more common img element.

 
Example
 
document.getElementById("logoDisplay").alt = "MegaCorp Logo";
 
Value

String value.

 
Default

None.


Powered by Linode.