0
<input type="checkbox" name="gender" value="1" />Male <br /> <input type="checkbox" name="gender" value="2" />Female <br />
what is the use of gender and value attributes
3 Respuestas
0
gender is not the attribute, there NAME is the attribute and GENDER its value, then value is used to define the value sended to a post or get request on a form when submitted
0
what is post?
0
when you submit a form it can be with get or post method, get is when you send the form information in the url and post does not show the data in url