话不多说,请看代码
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset=UTF-8>
<title>Document</title>
</head>
<body>
<form>
<label for=apple>苹果</label>
<input type=checkbox name=apple>
<label for=banana>香蕉</label>
<input type=checkbox name=banana>
<label for=orange>橘子</label>
<inp