I just realized I can use "tidy" and make a little shell script to have it wander through directories looking for HTML files. emmajane@debian:~/websites/emmajane.net/html$ tidy -e index.html Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN" Info: Document content looks like XHTML 1.0 Strict No warnings or errors were found. It gives the exact output that I need. :) emma -- Emma Jane Hogbin [[ 416 417 2868 ][ www.xtrinsic.com ]]