<?xml version="1.0" encoding="utf-8"?>

Adding radio buttons

Adding radio buttons

Set the type of the input element to "radio" to create a radio button. Remember that radio buttons usually come in groups — called radio groups incidentally. For a single on and off control, a checkmark is a better option.

Improve your UX & Product skills with interactive courses that actually work