+ 3

for user input: input type= "check box" name= "gender" value="1" />Male<br/> why do u need value="1" when you could just put male and why do u need a name when the name isn't even displayed to viewers?

25th Jul 2016, 3:21 PM
Andrew
2 Antworten
+ 7
As forms are usually processed server-side and data may need to be stored in a database, these attribute values are the equivalent of table columns with the same names.
26th Jul 2016, 2:15 AM
ZinC
ZinC - avatar
0
Because you are mainly just informing the computer that this will be its name.
25th Jul 2016, 4:00 PM
Elijah kibbe carter nyheim boyce.