[whatwg] How not to fix HTML

Lachlan Hunt lachlan.hunt at lachy.id.au
Wed Nov 1 04:18:30 PST 2006


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
http://lachy.id.au/



More information about the whatwg mailing list