'alt' Syntax and Note : alt : Javascript Properties : JavaScript Reference examples (example source code) Organized by topic

JavaScript Reference
C++
PHP
JavaScript Reference Home »  Javascript Properties   » [  alt  ]   
 



'alt' Syntax and Note

Note:

Read and write property. 
Set the element alternative text.
Browser will display the text when element cannot be displayed, or in a tooltip box.
    
Syntax:
    
document.getElementById("elementID").alt = value
document.all.elementID.alt = value // IE only

    

      
      
Related examples in the same category
1.  'alt' Example
2.  'alt' is applied to
























Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.