title: getElementsByTagName for two tags at once
body: <p>I use this:</p>
  
  <pre><code>function setFontSize() {
     var p = document.getElementsByTagName('td');
     for(i=0;i&lt;p.length;i++) {
        p[i].style.fontSize = selectedsize+"px"
     }
  }
  </code></pre>
  
  <p>What's the simplest and best way to throw in 'th' too?</p>