how html element can be accessed in the javascript code code example Example: how to get an element by id in javascript document.getElementById("IdGoesHere");