This help? https://github.com/validator/validator
But for html snippets you can pretty much just check that tags follow a couple simple rules between <> and that they're closed or not closed correctly.
That app does look helpful!
That app does look helpful!