1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML lang=en><HEAD><TITLE>WDG HTML Validator Tips</TITLE>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type><LINK
href="mailto:liam@htmlhelp.com" rev=Made><LINK href="http://www.htmlhelp.com/copyright.html"
rel=Copyright><LINK href="/wdg-html-validator/style.css" rel=StyleSheet
type="text/css"><LINK href="/wdg-html-validator/aural.css" media=aural rel=StyleSheet
type="text/css">
<META content="Liam Quinn" name=author>
<META
content="Hints on using the WDG HTML Validator in weird and wonderful ways."
name=description>
<META
content="HTML, HyperText Markup Language, tips, validator, validate, validation, HTML validator, HTML validation, check, WDG, Web Design Group"
name=keywords>
<META content="MSHTML 5.00.2014.210" name=GENERATOR></HEAD>
<BODY>
<H2><IMG alt="The Web Design Group" height=83 src="/wdg-html-validator/wdglogo1.gif"
width=250></H2>
<H1>Validator Tips</H1>
<UL>
<LI><A href="/wdg-html-validator/tips.html#referer">Validating
the referring <ABBR class=initialism
title="Uniform Resource Locator">URL</ABBR></A>
<LI><A
href="/wdg-html-validator/tips.html#password">Validating
password-protected documents</A>
<LI><A href="/wdg-html-validator/tips.html#ftp">Validating by
<ABBR class=initialism title="File Transfer Protocol">FTP</ABBR></A>
<LI><A href="/wdg-html-validator/doctype.html">Choosing a
DOCTYPE</A>
<LI><A href="/wdg-html-validator/customdtd.html">Using a
custom <ABBR class=initialism title="Document Type Definition">DTD</ABBR></A>
<LI><A href="/wdg-html-validator/charset.html">Using character
encodings</A> </LI></UL>
<H2><A name=referer>Validating the Referring <ABBR class=initialism
title="Uniform Resource Locator">URL</ABBR></A></H2>
<P>Validation of the referring <ABBR class=initialism
title="Uniform Resource Locator">URL</ABBR> allows authors to conveniently use
the same HTML as a validation link on any page:</P><PRE class=example><CODE class=html><A
HREF="http://www.htmlhelp.com/cgi-bin/validate.cgi?<STRONG>url=referer</STRONG>">Validate
me</A></CODE></PRE>
<P>To include the document's source, use the following:</P><PRE class=example><CODE class=html><A
HREF="http://www.htmlhelp.com/cgi-bin/validate.cgi?<STRONG>url=referer&amp;input=yes</STRONG>">Validate
me</A></CODE></PRE>
<P>One may also use "refe<STRONG>rr</STRONG>er" in place of
"refe<STRONG>r</STRONG>er".</P>
<H2><A name=password>Validating Password-Protected Documents</A></H2>
<P>To validate password-protected documents, use a <ABBR class=initialism
title="Uniform Resource Locator">URL</ABBR> of the form
"http://<STRONG><VAR>user</VAR>:<VAR>pass</VAR>@</STRONG>www.yourdomain.com/foo/bar.html".
(While this is not a technically valid <ABBR class=initialism
title="Uniform Resource Locator">URL</ABBR>, it is accepted by the <A
href="/wdg-html-validator/"><ABBR class=initialism
title="Web Design Group">WDG</ABBR> <ABBR class=initialism
title="HyperText Markup Language">HTML</ABBR> Validator</A> for
convenience.)</P>
<H2><A name=ftp>Validating by <ABBR class=initialism
title="File Transfer Protocol">FTP</ABBR></A></H2>
<P>The <A href="/wdg-html-validator/">validation by <ABBR
class=initialism title="Uniform Resource Locator">URL</ABBR></A> form supports
both <ABBR class=initialism title="HyperText Transfer Protocol">HTTP</ABBR> and
<ABBR class=initialism title="File Transfer Protocol">FTP</ABBR>. For anonymous
<ABBR class=initialism title="File Transfer Protocol">FTP</ABBR>, use a <ABBR
class=initialism title="Uniform Resource Locator">URL</ABBR> of the form
"ftp://ftp.yourdomain.com/foo/bar.html". If you need a user name and password,
use a <ABBR class=initialism title="Uniform Resource Locator">URL</ABBR> of the
form
"ftp://<VAR>user</VAR>:<VAR>pass</VAR>@ftp.yourdomain.com/foo/bar.html".</P>
<DIV class=footer>
<P class=toolbar><A href="/wdg-html-validator/">Validate by
<ABBR class=initialism title="Uniform Resource Locator">URL</ABBR></A> ~ <A
href="/wdg-html-validator/upload.html">Validate by file
upload</A> ~ <A
href="/wdg-html-validator/direct.html">Validate by direct
input</A></P>
<DIV class=footer>
<ADDRESS>Developed and maintained by <A href="http://htmlhelp.com/~liam/">Liam
Quinn</A> <<A
href="mailto:liam@htmlhelp.com">liam@htmlhelp.com</A>></ADDRESS>
<ADDRESS>Debian Package maintained by Jaldhar H. Vyas <<A
href="mailto:jaldhar@debian.org">jaldhar@debian.org</A>></ADDRESS>
<P class=toolbar><A href="http://htmlhelp.com/"><IMG alt="Web Design Group ~ "
height=40 src="/wdg-html-validator/wdglogo-small.gif" width=105></A><A
href="/doc/wdg-html-reference/html40/">HTML 4.0 Reference</A> ~
<A href="/doc/wdg-html-reference/wilbur/">HTML 3.2 Reference</A> ~
<A href="/doc/wdg-html-reference/css/">Cascading Style Sheets Reference</A></P>
<P class=copyright><A href="http://htmlhelp.com/copyright.html">Copyright </A>
1998-99 Liam Quinn. All rights reserved.</P></DIV></DIV>
</BODY></HTML>
|