Element.tagName

string tagName() @property

The tag name, as in the DOM: uppercase for html elements ("DIV"), else the local name