javascript OBJECT alt

altNN n/a IE 6(Win) 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.


1364,Nickname,Homepage or email,Comments here,Add comment