Is there a validator bug?

I received this comment “Strictly speaking (i.e., strict.dtd), A can only
+ contain %inline; elements, and P is %block;)” about the following
document.

My home page uses this script and the page validates properly.  I see what
the person said, I guess there is no way to make sure the validator
catches mistakes like this?

Thanks

Kevin Berkheiser



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<HTML>
  <HEAD>
           <TITLE>HTML 4 Strict</TITLE>
  </HEAD>
  <BODY> <SCRIPT TYPE="text/javascript">

<!-- Original:  CDR Software -->
<!-- Web Site:  http://www.cdrsoft.com  -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
user = "user";
site = "bigfoot.com";
icquser = "icqnumber";
icqsite = "pager.mirabilis.com";

document.write('<a href=\"mailto:' + user + '@' + site + ',' + icquser +
'@' + icqsite + '\">');
// End -->
                                                          </SCRIPT>
           <P>Email me</P> </BODY>
</HTML>

Received on Monday, 20 December 1999 13:55:46 UTC