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

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



'tagName' Syntax and Note

Note:

Read-only property. 
Returns the tag name of the element.
    
Syntax:
    
document.getElementById("elementID").tagName
document.all.elementID.tagName // IE only

    

      
      
Related examples in the same category
1.  'tagName' Example
2.  'tagName' 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.