Input Types
6.9
Lesson

Input Type - Radio

<input type="radio"> is used to create a list from which the user can select one option.

The value attribute is important for the website to analyze the choice made by the user. Also, it is required to have the name attribute be the same for all the radio input types for them to be treated as a group.