Here's a little "trick" that most people aren't aware of. If you have a certain part or section of an HTML or XHTML document that you want
CSE HTML Validator to ignore, then you can enclose it in "cseignore" tags.
Example:
Code: Select all
<cseignore>bad HTML here</cseignore>
or
<!--cseignore-->bad HTML here<!--/cseignore-->
In v8.04 and above, for better compatibility with other syntax checkers and validators,
<!--cseignore--> (case sensitive) can be used to simulate a
<cseignore> start tag and
<!--/cseignore--> (case sensitive) can be used to simulate a
</cseignore> end tag. (New v8.04)
NOTE: This works only with
CSE HTML Validator's own validator engine.
HTML Tidy,
nsgmls,
JavaScript Lint,
PHP, etc will not understand these special tags and comments.
If using
JavaScript Lint for JavaScript checking, then you can use this to ignore part of a document:
Code: Select all
/*jsl:ignore*/
(code that fires warnings)
/*jsl:end*/
For more information (
JavaScript Lint):
http://www.javascriptlint.com/docs/index.htm