0

What is use of "for=email" in this program ??

<form> <label for="email">Your e-mail address: </label> <input type="text" name="email" placeholder="email@example.com" /> </form>

1st Feb 2017, 2:22 PM
The YK
The YK - avatar
1 ответ
+ 2
just as suggested. You are putting label (smh like title) to input with name "email".
1st Feb 2017, 2:41 PM
Jakub Stasiak
Jakub Stasiak - avatar