首页
IT
登录
6mi
u
盘
搜
搜 索
IT
单选框点击文字也能选中
单选框点击文字也能选中
xiaoxiao
2021-04-13
51
标签为 input 元素定义标注(标记)。
<
form
>
//方式一:
<
label
for
=
"male"
>
Male
</
label
>
<
input
type
=
"radio"
name
=
"sex"
id
=
"male"
/>
//方式二:
<
label
>
<
input
type
=
"radio"
name
=
"radiobutton"
value
=
"radiobutton"
/>
测试?
</
label
>
</
form
>
转载请注明原文地址: https://ju.6miu.com/read-668973.html
技术
最新回复
(
0
)