Attribute.nodeName (Property)

Another alias for the name property of an Attribute object.


DOM level - 1
JavaScript - 1.5
JScript - 5.0
Internet Explorer - 5.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myAttribute.nodeName

This is provided to support some previous usage that accessed the tag name under the nodeName property. The same value is available in the name property of the Attribute object. It may contain some values that the name property does not support.

The following values may be seen in this property:

See also:Element.tagName, textNode object