How to get Tag Name of HTML Element in JavaScript?

How to get Tag Name of HTML Element in JavaScript?

More to explore

Based on this image's title: “How to get Tag Name of HTML Element in JavaScript?