XML DOM » Element » tagName

Syntax:
Element.tagName

This property returns the name of the element (i.e. the name within the tag).