+ 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?
2 odpowiedzi
+ 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.
0
Because you are mainly just informing the computer that this will be its name.