代码示例:(标识:eg_html_checkboxes)
<html>

<body>

<form>
我喜欢自行车:
<input type="checkbox" name="Bike">
<br />
我喜欢汽车:
<input type="checkbox" name="Car">
</form>

</body>
</html>
运行结果: