W3C home > Mailing lists > Public > www-validator@w3.org > March 2002

Closing BODY tag missing - HTML 4.01 compliant?

From: <roland_willeke@agilent.com>
Date: Fri, 22 Mar 2002 05:30:54 -0500 (EST)
Message-ID: <67EEB157BD87D311A7430090278CBA7F06479841@larisa>
To: www-validator@w3.org
Hello,


thanks for your great validation tool published on the web at
http://validator.w3.org/file-upload.html . I used this and am wondering,
whether it is correct, that an HTML 4.01 strict document is allowed to omit
the closing </BODY> tag. I did so, and your validator did not complain. The
strange thing is that your parse tree shows the closing tag. You may try the
following document with the above link and the first 3 check boxes ticked
(Show source input - Show an outline of this document - Show parse tree):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>Closing BODY tag missing</title>
  </head>
  <body>
    <p> In this document, the closing body tag is missing, but it is HTML
4.01 strict compliant.</p>
    <div>
      <a href="http://validator.w3.org/check/referer">
        <img src="http://www.w3.org/Icons/valid-html401.png" alt="Valid HTML
4.01!" height="31" width="88">
      </a>
    </div>
</html>


In addition, the "Revalidate" does not work when using "File upload" method
for validation.


Best   Regards
Roland Willeke

IT | Information Technologies

Agilent Technologies Deutschland GmbH
Mailstop HRIT-E
Herrenberger Strasse  130
71034 Boeblingen, Germany

Phone:  +49 7031 464 2359
FAX  :  +49 7031 464 2362
Received on Friday, 22 March 2002 11:59:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:01 GMT