Html radio button please help?

Ashish

New member
i wanted to prepare a form,here is the code
<html>
<head><title>FORM</title></head>
<body bgcolor="teal">
<font-face="lucida handwritten">
<H1>Feedback Form</h1>
<form method="post" action="abc.html">
Please Enter Your name
<input type="text" name="t1" value="Enter Your Name" maxlength="20"><BR><BR>
Enter Email Address
<input type="text" name="t2" value="[email protected]" maxlength="25"><BR><BR>
Please Enter Your Password
<input type="password" name="p1"><BR><BR>
Select Your gender<br>
Male :-
<input type="radio" name="r1"><br>
Female :-
<input type="radio" name="r2"><br>
<br><br>
What would you like to volunteer for
<select name="s1">
<option>Plantation</option>
<option>Garbage</option>
<option>kachrapatti</option>
<option>YOU SUCK!!!</option>
</select>
<BR><BR>
<input type="submit" value=" SUBMIT " name="s2">
<input type="reset" value=" CLEAR " name=r1"><BR><BR>
</form>
</font>
</body></html>


however,when i click on radio buttons i can select both of them simultaneously,i want to select only one,can anyone help?
pls reply fast as i have my exams tomorrow ..pls
 
Back
Top