how to get element tag name in jquery code example Example: jquery tag name $('anything').prop("tagName")