<form>
<label for="male">慢跑</label>
<input type="checkbox" name="gender" id="male" />
<br />
<label for="female">登山</label>
<input type="checkbox" name="gender" id="female" />
<br />
<label for="email">篮球</label>
<input type="checkbox" name="basktball" id="email" >
<br>
<input type="submit" name="submit" value="提交" >
</form>
兄弟代码必须在英文状态下输入 如果是在中午状态下输入的代码符号会报错