W3School TIY
编辑您的代码:
<html> <body> <form> 我喜欢自行车: <input type="checkbox" name="Bike"> <br /> 我喜欢汽车: <input type="checkbox" name="Car"> </form> </body> </html>
查看结果: