- 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
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 UTC