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