Bootstrap中复选框的容器
使用Bootstrap中的.checkbox类,使用Bootstrap将复选框添加到网页中
您可以尝试运行以下代码来设置复选框的容器-
示例
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
<script src = "/scripts/jquery.min.js"></script>
<script src = "/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<div class = "container">
<h2>Programming Survey</h2>
<p>Which programming languages do you like?</p>
<form>
<div class = "checkbox">
<label><input type = "checkbox" value = " ">Java</label>
</div>
<div class = "checkbox">
<label><input type = "checkbox" value="">C++</label>
</div>
<div class = "checkbox">
<label><input type = "checkbox" value="">C</label>
</div>
</form>
</div>
</body>
</html>热门推荐
10 高考前祝福语简短字句
11 恭贺新婚文案祝福语简短
12 情人喝酒祝福语简短的话
13 红颜生日祝福语简短独特
14 老年 生日祝福语大全简短
15 男士送花祝福语大全简短
16 提早庆祝生日祝福语简短
17 佛教生日祝福语简短大全
18 出嫁条幅伴娘祝福语简短