The <input type="radio"> defines a radio button. They can be confusing when you're starting out.

Radio button examples

But that’s exactly why this course exists! We’ll break down form elements like <input type="radio"> into bite-sized, memorable lessons.

The interesting thing about radio buttons is that they are usually presented in groups.

In other words, radio buttons are usually an entire collection of buttons that describe a set of related options. Importantly, only one radio button in a group can be selected at the same time. This is what sets them apart from, say, checkboxes.

Stay motivated, and I’ll see you in the next lecture!

radio buttons in HTML