[whatwg] How not to fix HTML

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/

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