title: how to get the value of all p and h tags in a html page excluding all other tags
body: <p>I am trying to load a HTML page into my app. I want to show only the content of the HTML page.
  please help me with a javascript function where I can loop through all the <strong>p</strong> tags and get the content of the <code>&lt;p&gt;</code> tags to display in a <strong>TextView</strong> as string.</p>
  
  <pre><code>&lt;html&gt;&lt;body&gt;" +
          "&lt;h1&gt;First&lt;/h1&gt;&lt;p&gt;text text text&lt;/p&gt;" +
          "&lt;h1&gt;Second&lt;/h1&gt;more text" +
           &lt;p&gt;text text text&lt;/p&gt;
             &lt;p&gt;text text text&lt;/p&gt;
            &lt;p&gt;text text text&lt;/p&gt;
          "&lt;/body&gt;&lt;/html&gt;
  </code></pre>