title: Inserting Ending Tags For Missing Tags In html
body: <p>How to insert the ending html tags where there are missing ending tags ? </p>
  
  <p>Like </p>
  
  <pre><code> &lt;tr&gt;
   &lt;td&gt;Index No.&lt;/td&gt;&lt;td&gt;Name&lt;/td&gt;
  
   &lt;tr&gt;
   &lt;td&gt;1&lt;/td&gt;&lt;td&gt;Harikrishna&lt;/td&gt;
  </code></pre>
  
  <p>Where two missing ending tags.That is "/tr".Now in this case how to Search where are the missing tag and there how to insert appropriate ending tag such as "/tr".</p>