<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>form中的lable标签</title>
</head>
<body>
<form>你对什么运动感兴趣:<br/>
<label for="jogging">慢跑</label>
<input type="checkbox" name="sports" id="jogging" />
<br />
<label for="climbing">登山</label>
<input type="checkbox" name="sports" id="climbing" />
<br />
<label for="basketball">篮球</label>
<input type="checkbox" name="sports" id="basketball">
</form>
</body>
</html>
你的代码没有任何问题,需要检查什么呢?