Validating HTML from the command line

command-line, html, validation, vim

Solution

You can use tidy together with a small Vim script.

Problem

I'm a web developer who is increasingly using Vim to code web sites. Are there any HTML validation utilities (or techniques) out there that will take whatever file I'm working on and validate against its DOCTYPE without leaving the shell?

Original source

Related problems