So kennt man Art des DOM -Elements in JS

let divElement = document.createElement('div');

if (divElement.nodeName == "DIV") //true
if (divElement.nodeName == "<div>") //false
Jackass