W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] How not to fix HTML

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Wed, 01 Nov 2006 23:18:30 +1100
Message-ID: <45489096.4080104@lachy.id.au>
Matthew Raymond wrote:
>>>    The element <grouplabel> gives the label for the group.
>> That's similar to the <label group=""> idea I posted.
>    True, but it eliminates the need for an |info| attribute on every
> element.

Oops.  Those info attributes were a copy and paste error.  They should 
have been removed from #1 and #2, cause I wrote #3 first and copied that 
for the rest.

The group attribute in my examples was referring to the name attribute, 
like the for attribute in yours.

> A better solution would be to use <input group="">, where the value of 
> |group| is the value of the controls' |name| attributes and not the 
> value of |info| attributes, thus eliminating the need for |info|.

Assuming you meant <label group="">, that's exactly what I intended in 
my examples.

Lachlan Hunt
Received on Wednesday, 1 November 2006 04:18:30 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC