title: How to read particular element in an html file from another PHP file using PHP
body: <p>How to read an html element by using id which is completely present in an another html file using php. I tried include but it loads all the content in that file and displayed in the browser but i just need to load only one tag.</p>
  
  <p>file1.html</p>
  
  <pre><code>&lt;body&gt;
     &lt;h3 id="title"&gt;Title&lt;/h3&gt;
     &lt;p&gt; Some content about the title &lt;/&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>file2.php</p>
  
  <pre><code>&lt;?PHP
  
     #read h3 element using id and display
  
  ?&gt;
  </code></pre>