views:

205

answers:

2

Are there any html/css checkers that are javascript based like JSLINT?

+2  A: 

Unless you have some very specific requirement preventing it, your best bet here is to go the non-javascript route: W3C Validator

If your interest is in running it elsewhere, it's source code is available.

Nick Craver
Was looking for js-based, but since there are none I guess this will have to do.
Corey Hart
+1  A: 

I wrote HTML lint in Javascript recently, to be used together with HTML minifier (source is on github). It's based on a tweaked version of Resig/Arvidsson HTML parser.

kangax