getTagName (DOMElement - JavaScript) Gets the name of the element. Defined inDOMElement SyntaxgetTagName() : string[]