name attribute in form tag does not error in HTML 4.01 Strict

I believe the validation for 'HTML 4.01 Strict' is missing a deprecated
convention. From what I have read the 'name' attribute of the 'form' tag
is deprecated for HTML 4.01 Strict, but allowed in Transitional. I do
not get an error when using the name attribute.

This should raise an error (in my opinion):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>Serial Inquiry</title>
 </head>

 <body>
  <form name="sn_query" action="somefile.php" method="POST">
    <table style="margin-left: auto; margin-right: auto">
      <tr>
        <td><b>Enter serial number</b></td>
        <td><input type="text" name="serial"
onKeyDown="if(event.keyCode==13 || event.keyCode==9) {
CheckFormData(this.form); }"></td>
      </tr>
    </table>

   </form>
  </body>
</html>

Thanks,

RS

Received on Friday, 10 April 2009 07:23:16 UTC