Use of name attribute in input tag in HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Use of name attribute in input tag in HTML

Web input tag

10th Apr 2021, 11:00 AM
Gunasekaran Ayyasamy
Gunasekaran Ayyasamy - avatar
3 Answers
0
The name attribute specifies the name of an <input> element. The name attribute is used to reference elements in a JavaScript, or to reference form data after a form is submitted. Note: Only form elements with a name attribute will have their values passed when submitting a form.
10th Apr 2021, 11:13 AM
SAN
SAN - avatar
0
Tinsae yohannes
15th Jul 2023, 9:35 AM
tinsae yohannes
tinsae yohannes - avatar
- 1
cc to
3rd Oct 2021, 6:37 AM
Asliddin