Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
5 lines (3 sloc) 368 Bytes

You can use radio buttons for questions where you want the user to only give you one answer.

Radio buttons are a type of input. They should all be nested in their own label element. Furthermore, all related radio buttons should have the same name attribute.

Here's an example of a radio button: <label><input type="radio" name="indoor-outdoor"> Indoor</label>.

Something went wrong with that request. Please try again.