How to get the html header values like h1 using html parser dom?
<p>how to get the header value like h1 or h2 which lies inside a div having some class name using simple html parser dom?
ex: - <code>&lt;html&gt;
            &lt;body&gt;
              &lt;div class="somename"&gt;
                &lt;h1&gt;MyText&lt;/h1&gt;
              &lt;/div&gt;
             &lt;/body&gt;
            &lt;/html&gt;</code></p>
