<div id="result">
<TMPL_IF NAME="is_tentative">
  <h2 class="tentative_valid">This Page Is <em>Tentatively</em> Valid <TMPL_VAR NAME="file_version" ESCAPE="HTML"></h2>
<TMPL_ELSE>
  <h2 class="valid">This Page Is Valid <TMPL_VAR NAME="file_version" ESCAPE="HTML">!</h2>
</TMPL_IF>
  <dl class="tip">
    <dt><a href="http://www.w3.org/2001/06tips/">Tip Of The Day</a>:</dt>
    <dd><a href="<TMPL_VAR NAME="tip_uri" ESCAPE="HTML">"><TMPL_VAR NAME="tip_slug"></a></dd>
  </dl>
<TMPL_IF NAME="has_errors">
    <p>
      Below is a list of the warning message(s) produced when validating your document.
    </p>
<TMPL_INCLUDE NAME="error_loop.tmpl">
</TMPL_IF>
  <p>
<TMPL_IF NAME="is_upload">
    The uploaded document "<TMPL_VAR NAME="file_uri" ESCAPE="HTML">"
<TMPL_ELSE>
    The document located at
    &lt;<a href="<TMPL_VAR NAME="file_uri" ESCAPE="HTML">"><TMPL_VAR NAME="file_uri" ESCAPE="HTML"></a>&gt;
</TMPL_IF>
<TMPL_IF NAME="is_tentative">
    was checked and found to be <em>tentatively</em> valid <TMPL_VAR NAME="file_version" ESCAPE="HTML">.
    This means that with the use of some fallback or override mechanism, 
    we successfully performed a formal validation using an SGML or XML 
    Parser. In other words, the document would validate as 
    <TMPL_VAR NAME="file_version" ESCAPE="HTML"> if you changed the markup
    to match the changes we have performed automatically, but 
    <strong>it will not be valid until you make these changes</strong>.
<TMPL_ELSE>
    was checked and found to be valid
    <TMPL_VAR NAME="file_version" ESCAPE="HTML">.  This means that the
    resource in question identified itself as
    "<TMPL_VAR NAME="file_version" ESCAPE="HTML">" and that we successfully
    performed a formal validation using an SGML or XML Parser (depending on
    the markup language used).
</TMPL_IF>
  </p>
<TMPL_IF NAME="have_badge">
  <p>
    <img
      class="inline-badge" src="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">"
      alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"
      <TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF>
      <TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF>
       />
    To show your readers that you have taken the care to create an
    interoperable Web page, you may display this icon on any page
    that validates. Here is the HTML you could use to add this icon
    to your Web page:
  </p>
  <pre>
  &lt;p&gt;
    &lt;a href="<TMPL_VAR NAME="cfg_home_page" ESCAPE="HTML">check?uri=referer"&gt;&lt;img
        src="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">"
        <TMPL_IF NAME="badge_alt">alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"</TMPL_IF> <TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF> <TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF><TMPL_VAR NAME="badge_tagc">&gt;&lt;/a&gt;
  &lt;/p&gt;
  </pre>
  <p>
    If you like, you can download a copy of this image (in
    <a href="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">.png">PNG</a> or
    <a href="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">.gif">GIF</a>
    format) to keep in your local web directory, and change the HTML fragment
    above to reference your local image rather than the one on this server.
  </p>
</TMPL_IF>
  <p>
    If you use <a href="http://www.w3.org/Style/CSS/">CSS</a> in your document,
    you should also
<TMPL_IF NAME="is_upload">
    check it for validity
<TMPL_ELSE>
    <a title="Validate CSS at the W3C CSS Validator"
    href="http://jigsaw.w3.org/css-validator/validator?uri=<TMPL_VAR NAME="file_uri_param">">check
    it for validity</a>
</TMPL_IF>
    using the W3C
    <a href="http://jigsaw.w3.org/css-validator/">CSS Validation Service</a>.
  </p>
<TMPL_UNLESS NAME="is_upload">
  <p>
    If you would like to create a link to <em>this</em> page (i.e., this
    validation result) to make it easier to revalidate this page in the
    future or to allow others to validate your page, the URI is
    &lt;<a href="<TMPL_VAR NAME="file_thispage" ESCAPE="HTML">"><TMPL_VAR NAME="file_thispage" ESCAPE="HTML"></a>&gt;
    (or you can just add the current page to your bookmarks or hotlist).
  </p>
</TMPL_UNLESS>
</div><!-- end of "result" -->
