On Sun, Jul 13, 2014 at 7:05 PM, Robert A. Rosenberg
<webdesig...@rarpsl.com> wrote:
> 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).


Correct. I was just pointing out that IF you wrap the input, the 'for'
attribute isn't required. Something I didn't know.



-- 

Tom Livingston | Senior Front-End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com
______________________________________________________________________
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