Get HTML tag
element.getTag()
Retrieve the HTML tag of an element.
Syntax
This method also returns the binding metadata for Heading elements:
Returns
The return type depends on the element type:
Returns null if the element is not found or the tag is not set.