+ 1
What are the difference between a name and id?
I am struggling on submitting forms I keep losing my lives in it. I need some help on telling the difference. Thanks!
2 ответов
+ 4
Meowies
<form>
<label for="name">Name</label>
<input type="text" id="name">
<label for="email">Email</label>
<input type="email" id="email">
<input type='submit'>
</form>
+ 2
Thanks! That really helped!