Other languages: français
Validation of the referring URL allows authors to conveniently use the same HTML as a validation link on any page:
<A
HREF="http://www.htmlhelp.com/cgi-bin/validate.cgi?url=referer">Validate
me</A>
To include the document's source, use the following:
<A
HREF="http://www.htmlhelp.com/cgi-bin/validate.cgi?url=referer&input=yes">Validate
me</A>
One may also use "referrer" in place of "referer".
To validate password-protected documents, use a URL of the form "http://user:pass@www.yourdomain.com/foo/bar.html". (While this is not a technically valid URL, it is accepted by the WDG HTML Validator for convenience.)
The validation by URL form supports HTTP, HTTPS, and FTP. For anonymous FTP, use a URL of the form "ftp://ftp.yourdomain.com/foo/bar.html". If you need a user name and password, use a URL of the form "ftp://user:pass@ftp.yourdomain.com/foo/bar.html".
By default, the Validator assumes that a custom DTD is HTML or SGML. If your custom DTD is XHTML or XML, then you need to include the Validator's hidden "xml" option. When validating a URL, you can specify this option by appending "&xml=yes" to the URL of the validation results.
With other validation methods, you need to use your own local validation form that includes the "xml" option (typically using <input type="checkbox" name="xml" value="yes">).
When the "Validate entire site" option is selected, the Validator will abide by the Robots Exclusion Protocol, allowing you to block the Validator from spidering certain sections of your site. To specify rules specifically for the Validator in your robots.txt file, use "WDG_SiteValidator" as the User-agent.