<
input
type
=
"radio"
name
=
"radio"
value
=
"1"
>单选1
<
input
type
=
"radio"
name
=
"radio"
value
=
"2"
>单选2
<
input
type
=
"radio"
name
=
"radio"
value
=
"3"
checked>单选3
<
input
type
=
"radio"
name
=
"radio"
value
=
"4"
>单选4
/**注意:name值一定要相同才能够单选,要默认选项,加一个属性checked就行了**/