JQuery -Tag -Name

$('anything').prop("tagName")
Handsome Hoopoe