tags and event handlers. It also inspects the HTML content, looking for problems
All tag names must be in lowercase.
All tags that can take a close tag (such as
</p>) must have a close tag.
All tags are correctly nested.
< must be used for
JSLint is less anal than the sycophantic conformity demanded by XHTML, but more strict than the popular browsers.
JSLint also checks for the occurrence of
in string literals. You should always write
compiler, but not by the HTML parser. Tricks like this should not be necessary, and
yet they are.
There is an option that allows use of uppercase tag names. There is also an option that allows the use of inline HTML event handlers.