3 require "vendor/autoload.php";
11 <script language="javascript">
12 if (2 > 1) { alert("Math wins."); }
16 <!-- This space intentionally left blank. -->
17 <section class="section-a pretty" id="bar1">
18 <h1>Hello World</h1><p>This is a test of the HTML5 parser.</p>
22 <test xmlns:foo="http://example.com/foo">TEST</test>
23 <![CDATA[Because we can.]]>
29 $dom = $html5->loadHTML($html);
31 print "Converting to HTML 5\n";
33 $html5->save($dom, fopen("php://stdin", 'w'));