The intrinsic Radio control allows a user to select one choice from a number of options. Radio controls are also called option buttons. Radio controls can be grouped by using the same NAME attribute.
NAME | A string representing the name of the Radio control |
VALUE | A string representing the value of the control when submitted (each radio button should have a unique value) |
CHECKED | An option that causes the Radio control to be selected by default |
OnClick | Fires when the control is clicked |
OnFocus | Fires when the control receives the focus |
<INPUT TYPE="RADIO" [NAME="string"] [VALUE="string"] [CHECKED][OnClick="subroutine"][OnFocus=" subroutine"]>
<FORM>
<INPUT TYPE="RADIO" NAME="OPTIONS" VALUE="One" CHECKED>One
<INPUT TYPE="RADIO" NAME="OPTIONS" VALUE="Two">Two
<INPUT TYPE="RADIO" NAME="OPTIONS" VALUE="Three">Three
</FORM>