title: How to make an image in a table cell clickable
body: <p>I am a beginner programmer and am struggling to figure out how to make an image clickable.</p>
  
  <p>I have a set of images that I placed into a table, because that is the layout I need. The goal is to get linked to another pages once a certain image from the table is selected. 
  So far this is what I have (with multiple cells):</p>
  
  <pre><code>&lt;table border="0"&gt;
      &lt;tr&gt;
      &lt;td&gt;
          &lt;a&gt;
              &lt;img src="img1.jpg" width="400" height="178" class="next" onclick="change('http://www.google.com')"/&gt;
          &lt;/a&gt;
          &lt;div class="imgText"&gt; Image 1 &lt;/div&gt;&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>