Name and Value Attributes | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Name and Value Attributes

If I do <input type="submit" name="Submit" value="Next" />, it works just fine, but what would happen if I took away the name attribute? They seem to both do the same thing, but then again, I haven't played around too much with it and I'm very new to all of this. Any help would be greatly appreciated!

6th Apr 2019, 9:11 PM
Trevor Roderick
Trevor Roderick - avatar
2 Respostas
+ 4
you know one thing with programming is practicing,so try compiling it and see the result yourself...I wish you goodluck with that.
6th Apr 2019, 10:16 PM
įŽÆį°į°įŽÆ__į„įŽæį©āž°
įŽÆį°į°įŽÆ__į„įŽæį©āž° - avatar
+ 1
Only form elements with a name attribute will have their values passed when submitting a form so that's necessary in this part.
6th Apr 2019, 10:00 PM
Aykut SaraƧ
Aykut SaraƧ - avatar