Retrieves the string that contains the tag name that corresponds to this element given its current state (for example, "SPAN").
public String getTagName()
This value can change during the life of the instance. In many cases, it depends on specific attribute settings known only to the derivation of this class. This method useful only in special cases.