At 14:08 -0400 on 07/09/2014, Tom Livingston wrote about Re: [css-d] P tag can't be child of label ?:

If you wrap the input with the label, you can leave off the
'for' attribute (just read that... had no idea about that one!).

The use of the "for" attribute allows the label to not need to wrap the input. It just references the id of the tag that wraps the input (if I remember correctly).
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to