This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.



Smartphone icons created by Freepik - Flaticon

JS HTMLDOM - The nodeName Property

My First Page

document.getElementById("id02").innerHTML = document.getElementById("id01").nodeName;

Note: nodeName always contains the uppercase tag name of an HTML element.