title: PHP with HTML output as Object
body: <p>Is there a way to use html in php like in javascript, where I can do <code>Element.append()</code> or so. Like <code>$html-&gt;body-&gt;header-&gt;append($menu)</code>? Some class or something?</p>