 <p>Try</p> <pre><code>include_once 'simple_html_dom.php'; $oHtml = str_get_html($url); $Title = array_shift($oHtml-&gt;find('title'))-&gt;innertext; $Description = array_shift($oHtml-&gt;find("meta[name='description']"))-&gt;content; $keywords = array_shift($oHtml-&gt;find("meta[name='keywords']"))-&gt;content; echo $title; echo $Description; echo $keywords; </code></pre>