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