Computer Science, asked by jongshilemba123456, 7 months ago



All radio buttons within a group must share the same name. What do you understand by this sentence

Answers

Answered by pavitranayak04
0

Answer:

Radio button should accept only one value. For ex. in the gender section only one option should be selected. I.e, either female or male.

Therefore,

All radio buttons within a group must share the same name.

ex.

<input type="radio" id="male" name="gender" value="male">

<input type="radio" id="female" name="gender" value="female">

<input type="radio" id="other" name="gender" value="other">

here, the name for all radio button in same. This will allow user to opt for only one option

Similar questions