W3C home > Mailing lists > Public > www-validator@w3.org > September 2001

Tags within comment blocks visible to validator

From: Robert E. Menteer II <reetnem@bigfoot.com>
Date: Tue, 11 Sep 2001 10:00:35 -0400
Message-Id: <200109111400.f8BE0Xf15078@robin.mail.pas.earthlink.net>
To: www-validator@w3.org
The following document does not validate because the <HTML> tag within 
the comment
block is seen by the parser!

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
    "http://www.w3.org/TR/REC-html40/strict.dtd">
<HTML>
  <Head>
   <!-- Hide stuff

This tag should not be seen! <HTML>

   // End hiding. -->
  </Head>
  <Body>
  This page does not validate!
  </Body>
</HTML>
Received on Tuesday, 11 September 2001 10:00:36 GMT

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