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

LABEL tag with "for" attribute not validated

From: Sorin Lazareanu <Sorin.Lazareanu@nondimensional.com>
Date: Tue, 14 May 2002 19:26:19 -0400 (EDT)
Message-ID: <000e01c1fb9e$3c74d9e0$be00a8c0@GAMMA>
To: <www-validator@w3.org>

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">
    <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <FORM action="null">
      <LABEL for="test">Test</LABEL>
      <INPUT type="text" name="test">
        <A href="http://validator.w3.org/check/referer">HTML 4.01 Check</A>

Best regards,

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:27 UTC