nodeName

The read-only nodeName property of Node returns the name of the current node as a string.

MDN Reference