gmuck assists you in generating valid (X)HTML by examining the source code that generates it. It is not a replacement for real validation tools, but is handy for quick checks and in situations where validation of the actual markup is troublesome. It is a line-oriented tool, so its structural checking capabilities are limited, but it makes an attempt to report syntactical errors as well as providing some lint-like features.