I have been teaching myself how to create a survey form in HTML5 from various sites including freeCodeCamp , however i have failed to make sense of the
value attribute when creating radio buttons and check boxes. I thought the value of the
value attribute is what is submitted to the backend for processing when a user submits the form for example:
<form> <input id = "male" type = "radio" name = "gender" value = "Male" > </form
However some of the tutorials tend to ignore the value attribute. How then does the browser know what value to associate with the name attribute
gender when sending the form form for processing to the backend?