Hello, How can I get the inner HTML of an element with DomDocument() functions. For example: how can I get "inner text" from the following tag: <p class="normal">inner text</p>? $domPage = new DomDocument(); @$domPage->loadHTML($html); foreach ($domPage->getElementsByTagName('p') as $p_tag) { // How can I now get the inner HTML of each <p> tag? } PHP: