html 的radio单选框如何实现互斥 radio只是input的type属性

注意这里要设置相同的name,这一组单选才会生效!

<input type="radio" name="sex">男<input type="radio" name="sex">女

点击这里查看更多radio的信息

发布了8 篇原创文章 · 获赞 0 · 访问量 198

猜你喜欢

转载自blog.csdn.net/weixin_45827203/article/details/105182663