Note: Read-only property. Returns the tag name of the element. Syntax: document.getElementById("elementID").tagName document.all.elementID.tagName // IE only