网站首页
关于我们
网站建设
网站优化
客户案例
新闻动态
联系我们
首页 >> TAG >> 单选框
在写单选框时,如何实现只能同时只能选择一个radio。 将name设置为一样的数值;代码如下: <input class="myforms-3-2" type="radio" checked ="ch
顺晟科技
2022-09-15
334
pc效果图: 移动端效果图: 代码直接上:<!DOCTYPE html> <html> <head><meta http-equiv="Content-Type" content="text/h
2022-09-13
151
废话不多说直接看图:复选框的选中喝未选中的,哈哈哈,截图截的不够好,请谅解。 直接上代码:<!DOCTYPE html> <html><head><meta charset="UTF-8"><titl
117
html代码<h2>你最喜欢的水果</h2> <div class="input-radio"><!-- 选中状态添加 checked 属性 --><input id="apple" type="ra
206
单选框: <input type="radio/checkbox" value="值" name="名称" checked="checked"/> 1、type: 当 type
2021-10-01
198