注意这里要设置相同的name,这一组单选才会生效!
<input type="radio" name="sex">男<input type="radio" name="sex">女
点击这里查看更多radio的信息