Submit and Reset

Radio buttons is used to select only one option at a time.

Radio buttons is used to select only one option at a time.

Submit and Reset

Radio buttons is used to select only one option at a time.
Syntax
Genger&nbsp;&nbsp;<INPUT TYPE=RADIO NAME=GENDER VALUE=M>Male&nbsp;&nbsp;<INPUT TYPE=RADIO NAME=GENDER VALUE=F>Female

Male  Female

Other example
Married status&nbsp;&nbsp;<INPUT TYPE=RADIO NAME=MSTATUSVALUE=MA>Married&nbsp;&nbsp;<INPUT TYPE=RADIO NAME=MSTATUS VALUE=UM CHECKED>Unmarried

Married  Unmarried

CHECKED is used to select by defalut

Login for comment