[html5] What is the purpose of the form attribute on <label>
info at html5.jp
Wed Dec 2 20:50:57 PST 2009
I have a question about the purpose of the form attribute on <label>.
Could you please see the snippet?
nickname: <input type="text" name="nickname" />
<form method="get" action="#" id="frm">
<input type="submit" value="送信" />
Does the <input> for the nickname have a form owner?
Intuitively, it seems to have a form owner.
But, as far as I've read the spec, it seems to have no form owner.
Actually,Opera 10 dose so.
"5. Otherwise, the element is left unassociated."
Could you please tell me whether the <input> for nickname have a form owner?
If it dose, Where dose the spec clearly say?
If not, What the purpose of the form attribute on <label>?
For only semantics? or for something else?
More information about the Help