The Perl 5 module HTML::Lint checks for HTML errors in a string or
file.  HTML::Lint also comes with a wrapper program called weblint
that handles linting from the command line.
