HTML::Lint - check 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.