** Any input field (radio button here) in a form element, so here we will put all of the form <form> </ form>.

There may be many options in the form of the option to choose between any of the options. In these cases the radio button is used. Such as

<p>Select your Game</p>

<input type="radio" name="dept" value="1"/>Call of Duty
<input type="radio" name="dept" value="2"/>Battlefield
<input type="radio" name="dept" value="3"/>Clash of Clans

To see just change the type attribute, the radio button has arrived, if text type is textbox, textbox, checkbox, if there is a field to select multiple options, submit a submit button, etc.

** The name attribute of all form elements is different, only to give the same name to the radio button, if you want to select one (automatic selection will be unselected if another is selected). Do not give the value different because it is done with the checkbox which is discussed in the first tutorial.

If any one wants to show selected, use the checked=”checked” attribute in it.

<p>Select your Game</p>
<input type="radio" name="dept" value="1"/>Call of Duty
<input type="radio" name="dept" value="2"/>Battlefield
<input type="radio" name="dept" value="3" checked/>Clash of Clans

You can also use the attributes required, disable, etc., which are discussed in the Textile Tutorial.