From the course: HTML & CSS: Creating Forms
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Radio buttons - HTML Tutorial
From the course: HTML & CSS: Creating Forms
Radio buttons
- [Instructor] Besides typing in data, there are times when you want to have the user select between multiple options. The most common ways to do this are using radio buttons, check boxes, or a select menu, which is commonly called a dropdown menu. The two at the top are our radio button input and check box input. They look very much the same. The only difference between them, with a radio button, the user can only select one of the options, while with check boxes, the user can select more than one option. Below that is a select menu. This is a dropdown where you can only choose one option. And below that is also a select menu, but it's set to allow you to choose more than one option. You can choose more than one by using command-click on your Mac, or control-click on your Windows computer. To choose between these options, it is often best to go with a radio button or check box input because then the user can see all of the available options at one time, and they only have to click…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.