Please have a look at HTML::Lint (Andy LESTER's module)
hth,PooLpi
In reply to Re: HTML Normalize by poolpi in thread HTML Normalize by jai_dgl