What to put in name tag in forms in html if I have to vote?plz. Reply quick | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

What to put in name tag in forms in html if I have to vote?plz. Reply quick

11th Jul 2020, 7:35 AM
Aayan Ahmad
5 Answers
0
<form> ....... </form>
11th Jul 2020, 9:53 AM
Kannan
Kannan - avatar
0
What is this?atleast try to give a proper answer!
11th Jul 2020, 10:19 AM
Aayan Ahmad
0
Aayan Ahmad If u want to put name in form here is small example <form> <input type="text" placeholder="Name"> </form>
11th Jul 2020, 12:10 PM
Varun N
Varun N - avatar
0
That I know,what I want to ask is the exact difference between name and value and placeholder
11th Jul 2020, 12:14 PM
Aayan Ahmad
0
1.type attribute refers to type of input we need like name,password,email etc... 2.name,value,placeholder gives hint to user what type of info to enter inside the field.
11th Jul 2020, 12:18 PM
Varun N
Varun N - avatar