title: Any better way to hide multiple elements at once?
body: <p>This works perfectly fine, but for future reference I would like to know if there is a better way to do this.</p>
  
  <pre><code>document.getElementsByTagName('h1')[0].style.display = 'none';
  document.getElementsByTagName("p")[0].style.display = 'none';
  document.getElementsByTagName("p")[1].style.display = 'none';
  document.getElementsByTagName("ul")[0].style.display = 'none';
  document.getElementsByTagName("hr")[0].style.display = 'none';
  </code></pre>
  
  <p>I'm open to using jQuery if it would help.</p>