0

<label for="e-mail">Your e-mail address: </label>

what does attribute "for" does here.

26th Jun 2017, 3:25 AM
Anand Patidar
2 Réponses
+ 2
If you create an input box like this: <input type="text" name="e-mail"> It ties up the label and the input box, so when you click on the label this input box will be active.
26th Jun 2017, 4:02 AM
Da' BO$
Da' BO$ - avatar
0
thank you
26th Jun 2017, 4:48 AM
Anand Patidar