HTML radio tag can use when you want the user to select only one option from a set of options/alternatives. Radio buttons are created using the <input> tag making it's type equals to "radio". It has three required attributes type, name and value. There are two optional attributes also and those are id and checked.
Syntax
Example
This will produce following result