+ 1
What is the use of name attribute in form tag
Name attribute
4 Answers
+ 5
We use it so when a form is submitted, then the backend script can read which values correspond to which inputs. E.g. <input type=âtextâ name=âusernameâ/> So on the backend, you can access the value with the âusernameâ key.
+ 1
Thanks
0
Love you all