[html5] What is the purpose of the form attribute on <label>

Keryx Web webmaster at keryx.se
Fri Dec 4 07:00:33 PST 2009


2009-12-03 05:50, Futomi Hatano skrev:
> Hi all,
> 
> I have a question about the purpose of the form attribute on<label>.
> Could you please see the snippet?

It enables you to put form elements outside of the form element, but
still have them being associated with it (as in being sent on submit.)

For the edge cases where one wants to spread out the controls a bit this
might be a solution.

-- 
Keryx Web (Lars Gunther)
http://keryx.se/
http://twitter.com/itpastorn/
http://itpastorn.blogspot.com/



More information about the Help mailing list