how to find an element in html code example Example: Finding HTML Element by Id var myElement = document.getElementById("intro");