为什么我能一次检查多个单选按钮?

时间:2015-05-03 16:04:00

标签: html radio-button

这是我用于表单的代码,我使用单选按钮,因为我知道只有一个可以勾选,但由于某种原因我可以点击多个。我该如何解决这个问题?

<form name="Question1" method="post" onsubmit="return CheckAnswer1()">

    <input  type="radio" 
     name="Q1opt1" 
     value="1" >Having loads of pictures on the website<br /><br />

    <input  type="radio" 
     name="Q1opt2" 
     value="2" >Making the website nice and pretty.<br /><br />

    <input  type="radio" 
     name="Q1opt3" 
     value="3" >Making the website most user friendly.<br /><br />

    <input type="submit" value="Select Your Answer and Click Here" />
</form>

0 个答案:

没有答案