Which DOM function returns an element based on its id attribute? code example Example: Finding HTML Element by Id var myElement = document.getElementById("intro");