title: Extracting data from table tag
body: <p>I want to extract the data present in td tags using jsoup. </p>
  
  <p>Here in the code below "BAGALKOT" is the name of the city and "KERUDI HOSPITAL RESEARCH CENTRE" is the name of the hospital. </p>
  
  <p>Similarly city names and hospital names appear in the page numerous times in table structure. I want to extract this data using <code>jsoup</code>.</p>
  
  <p>Can anyone please help me with some <code>java</code> code for the same.</p>
  
  <pre><code>&lt;h2&gt;Karnataka Hospitals List&lt;/h2&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>    &lt;tr bgcolor="#E4E4E4" height="40"&gt;
          &lt;td height="40" align="center" class="whiteheading"&gt;&lt;strong&gt;Sl. No&lt;/strong&gt;&lt;/td&gt;
          &lt;td align="center" class="whiteheading"&gt;&lt;strong class="whiteheading"&gt;City&lt;/strong&gt;&lt;/td&gt;
          &lt;td align="center" class="whiteheading"&gt;&lt;strong&gt;Hospital / Nursing Home&lt;/strong&gt;&lt;/td&gt;
          &lt;td align="center" class="whiteheading"&gt;&lt;strong&gt;Address&lt;/strong&gt;&lt;/td&gt;
          &lt;td align="center" class="whiteheading"&gt;&lt;strong&gt;State&lt;/strong&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr height="60"&gt;
          &lt;td width="64" align="left" bgcolor="#FFFFFF"&gt;1&lt;/td&gt;
          &lt;td class="copyrights" width="119" bgcolor="#FFFFFF"&gt;BAGALKOT&lt;/td&gt;
          &lt;td class="copyrights" width="211" bgcolor="#FFFFFF"&gt;KERUDI HOSPITAL    &amp;amp; RESEARCH CENTRE&lt;/td&gt;
          &lt;td class="copyrights" bgcolor="#FFFFFF"&gt;EXTENSION,    HOSPITAL ROAD,BAGALKOT, KARNATAKA-587101.&lt;/td&gt;
          &lt;td class="copyrights" width="88" bgcolor="#FFFFFF"&gt;KARNATAKA&lt;/td&gt;
      &lt;/tr&gt;
  </code></pre>