编写checkbox复选框
时间: 2024-01-18 07:02:26 浏览: 150
<!DOCTYPE html>
<html>
<head>
<title>Checkbox Example</title>
</head>
<body>
<h2>Checkbox Example</h2>
<form>
<input type="checkbox" id="option1" name="option1" value="option1">
<label for="option1">Option 1</label><br>
<input type="checkbox" id="option2" name="option2" value="option2">
<label for="option2">Option 2</label><br>
<input type="checkbox" id="option3" name="option3" value="option3">
<label for="option3">Option 3</label><br>
<input type="submit" value="Submit">
</form>
</body>
</html>
阅读全文