W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Re: Tidy flags idref as an unknown attribute

From: Dave Raggett <dsr@w3.org>
Date: Fri, 22 Dec 2000 17:29:53 +0000 (GMT Standard Time)
To: rickr@rivio.com
cc: html-tidy@w3.org
Message-ID: <Pine.WNT.4.10.10012221727430.-945107@hazel.phone.com>
On Thu, 21 Dec 2000 rickr@rivio.com wrote:

> FYI,
>  The latest (August) version of Tidy is flagging idref as an
> "unknown attribute" in <label>.
>  
> <label idref="name">Name:</label>
> <input type="text" id="name" />

That's because the attribute you are looking for is called "for".
The HTML4 spec says:

 The for attribute associates a label with another control
 explicitly: the value of the for attribute must be the same as the
 value of the id attribute of the associated control element.  More
 than one LABEL may be associated with the same control by creating
 multiple references via the for attribute.

Regards,

Dave Raggett
Received on Friday, 22 December 2000 12:30:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:45 GMT