A radio button is one type of selection indicator in a list of options. If an option is selected, the circle is filled. If the option is not selected, the circle is empty. When one circle is selected, the others are deselected, so that only one option may be selected at any time.
Radio button example
Below is an example of what the radio button looks like in your browser.
- Radio button example.
- How to create a radio button on my HTML web page.
- What is the difference between a check box and a radio button?
How to create a radio button on my HTML web page
To create a radio button on a web page, use the tag as shown below. In the example below, we are using the code from the radio button example to make a radio button followed by the “Example 1” text.
Example 1. Example 2. Example 3. Example 4. Example 5.
In our example, you’ll notice you can only select one radio button option.
Example 1
If you want user input from a radio button, it must be included in a