elements with IDs create js globals by lbstr May 29, 2014 HTML <div id="foobarf"></div> JavaScript console.log(foobarf);