+ 1
Should I always mention name attribute inside <input type="" id="" name="" > ??
https://sololearn.com/compiler-playground/W10W8tmEC4yK/?ref=app
8 Respuestas
+ 4
There are some cases where it is not needed, but In general, it's a good practice to include the name attribute in your form controls to ensure proper form submission, validation, and accessibility.
+ 3
No.
+ 2
use double time breake element to improve gap in form label and input
+ 1
no; but if you would like to use database, backend....
what you think: is id mandatory?
+ 1
In general without name attribute, form will not submitted to the database.
+ 1
Yes exactly
0
Then, when is it mandatory?
0
Actually, i learnt in the lesson, we have to put name attribute to send the info in database.. Are not we sending info database while filling the form?