FORMS:   

Radio Buttons are mutually exclusive. Only one button may be selected. Selecting an alternate button in a Radio Button group will automatically remove the previous selection. To identify a group of radio buttons, all the radio buttons must have the same name. Notice that the name for both radio buttons is 'newsletter'. The value for each is different. The first one will appear selected when the code is displayed.

<form method="post" action="http://wwwebworks.biz/bit112/showFormData.php" name="initial">

<label><input type="radio" name="newsletter" value="yes" checked /> yes</label>

<label><input type="radio" name="newsletter" value="no" /> no </label>

</form>

 

 

 


Application
: Add 2 radio buttons with labels to my_form.html. Make one prechecked.
Example
: Form with a variety of 'radio button' fields.