+ 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!

24th Oct 2023, 9:29 PM
Meowies
Meowies - avatar
2 Réponses
+ 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>
25th Oct 2023, 6:35 AM
BroFar
BroFar - avatar
+ 2
Thanks! That really helped!
25th Oct 2023, 7:45 PM
Meowies
Meowies - avatar