Node.nodeName

string nodeName() @property

The name of the node, as in the DOM: the tag name for elements (uppercase for html elements: "DIV"), "#text", "#comment", "#document", "#document-fragment", the name of a doctype, the target of a processing instruction.