LABEL tag with "for" attribute not validated

Hi,

The validator is a very useful tool to me.

It seems that a tag of the form:

<LABEL for="abc">Text</LABEL>

is not validated by the HTML validator.  The error description is: X.

Here is an HTML source document:

<!DOCTYPE html public "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
  <HEAD>
    <TITLE>Test</TITLE>
    <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  </HEAD>
  <BODY>
    <FORM action="null">
      <DIV>
      <LABEL for="test">Test</LABEL>
      <INPUT type="text" name="test">
      </DIV>
    </FORM>
    <DIV>
        <A href="http://validator.w3.org/check/referer">HTML 4.01 Check</A>
    </DIV>
  </BODY>
</HTML>


Best regards,

Sorin

Received on Friday, 17 May 2002 02:52:30 UTC