Re: Tidy flags idref as an unknown attribute

On Thu, 21 Dec 2000 rickr@rivio.com wrote:

> The latest (August) version of Tidy is flagging idref as an "unknown
> attribute" in <label>.

It's right to do so. There is no attribute by that name in HTML.

> <label idref="name">Name:</label>
> <input type="text" id="name" />

Ah, I think you have misunderstood the syntax of <label>'s attribute list.
IDREF is the type of the attribute called 'for', and is a special SGML
keyword. (See <http://www.w3.org/TR/html4/types.html#type-idref>.)

What you mean is:

<label for="name">Name:</label>
<input type="text" id="name" />

> Rick Roth 
> Web Developer 
> Rivio, Inc. 
> rickr@rivio.com <outbind://21/rickr@rivio.com>  

Is outbind: a real URI scheme?

hope this helps,
-- 
Daniel Biddle <deltab@osian.net>

Received on Friday, 22 December 2000 00:30:04 UTC