Light weight, fault tolerant, high speed single pass HTMLparser. Builds HTML DOM similar to accessing the browsers DOM with javascript. Compatible with PHP4 and higher. Send in your feature requests.
`parsehtml.php` is a HTMLparser written in PHP. It should be pretty fast and can even cope with invalid HTML input.
Additionally a function is provided to indent HTML code properly.