tagName

external val tagName: String(source)

The tagName read-only property of the Element interface returns the tag name of the element on which it's called.

MDN Reference