title: How do you change containers with HTML buttons?
body: <p>So I have this code:</p>
  
  <pre><code>&lt;body bgcolor="#FFF"&gt; 
      &lt;table class="body-wrap"&gt; 
          &lt;tr&gt; 
              &lt;td class="container"&gt; 
                  &lt;div class="content"&gt; 
                      &lt;div id="logo"&gt;
                          &lt;a href="http://www.example.com/"&gt;&lt;img src="https://example.com/images/pic.png" /&gt;&lt;/a&gt;
                      &lt;/div&gt; 
                      &lt;form action=""style="text-align:center;"&gt;
                      &lt;input type="button" value="News"&gt; &lt;input type="button" value="Twitter"&gt; &lt;input type="button" value="Issues"&gt; &lt;input type="button" value="Info"&gt;
                      &lt;/form&gt;
                      &lt;td class ="container"&gt;
                          &lt;div class="content"&gt;
                              &lt;div id="feed"&gt;&lt;/div&gt; 
                              &lt;a href="http://twitter.com/" style="text-decoration:none;"&gt;&lt;img src="http://example.com/images/icon_twitter.png" alt=""&gt; Follow us on Twitter&lt;/a&gt;
                          &lt;/div&gt;
                      &lt;/td&gt;
                      &lt;td class ="container"&gt;
                          &lt;div class="content"&gt;
                              &lt;div id="feed"&gt;&lt;/div&gt; 
                              &lt;a href="http://twitter.com/" style="text-decoration:none;"&gt;&lt;img src="http://example.com/images/icon_twitter.png" alt=""&gt; Follow us on Twitter&lt;/a&gt;
                          &lt;/div&gt;
                      &lt;/td&gt;
                  &lt;/div&gt; 
              &lt;/td&gt;
          &lt;/tr&gt; 
      &lt;/table&gt; 
  &lt;/body&gt;
  </code></pre>
  
  <p>And I need a way switch between the two containers that are next to one another by clicking the buttons News and Twitter. (I have intentionally left them identical for this example) Later I will add containers for Issues and Info as well. If anyone knows how to do this I would appreciate it if you would tell me. I'm fairly new to HTML so if you could keep your explanations simple that would help as well. Also I would prefer to keep all the code in one HTML file</p>