'nodeName' Syntax and Note : nodeName « Javascript Properties « JavaScript Reference

'nodeName' Syntax and Note

Note:

Read-only property. 
Returns the node name. 
    
Syntax:
    
document.getElementById("elementID").nodeName
document.all.elementID.nodeName // IE only

    

      
      








Related examples in the same category

1.'nodeName' Example
2.'nodeName' Possible Values
3.'nodeName' is applied to