代码如下:
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>单选框、复选框</title>
</head>
<body>
<form method="post" action="save.php">
<p>你喜欢旅游吗?<p>
<lable for="love1">喜欢</lable>
<input type="radio" name="radioLove" id="love1" />
<lable for="love2">不喜欢</lable>
<input type="radio" name="radioLove" id="love2" />
<lable for="love3">无所谓</lable>
<input type="radio" name="radionLove" id="love3" />
</form>
</body>
</html>
麻烦大家给详细解答下!
需要css才能改啊
不好意思 打错了 label 太粗心了