Posted by Andy Dingley on 11/22/06 13:03
Moosus Gracius wrote:
> Can you nest input tags insde of label tags and do away with the for
> attribute?
Yes. It's called an implicitly associated label
http://www.w3.org/TR/html4/interact/forms.html#edef-LABEL
"To associate a label with another control implicitly, the control
element must be within the contents of the LABEL element. In this case,
the LABEL may only contain one control element. "
Navigation:
[Reply to this message]
|