用Bootstrap创建表
要使用Bootstrap创建表,您可以尝试运行以下代码
示例
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Table</title>
<meta name = "viewport" content = "width=device-width, initial-scale = 1">
<link rel = "stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css">
<script src = "https://cdn.staticfile.org/jquery/3.3.1/jquery.min.js"></script>
<script src = "https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
</head>
<body>
<table class = "table">
<caption>Sports Table</caption>
<thead>
<tr>
<th>Footballer</th>
<th>Rank</th>
</tr>
</thead>
<tbody>
<tr>
<td>Messi</td>
<td>1</td>
</tr>
<tr>
<td>Neymar</td>
<td>2</td>
</tr>
</tbody>
</table>
</body>
</html>热门推荐
6 保研的祝福语简短
10 年轻20岁祝福语简短
11 朋友结婚祝福语信息简短
12 女孩婚礼贺卡祝福语简短
13 30段点歌简短祝福语
14 虎年春节祝福语图文简短
15 写给后妈祝福语大全简短
16 简短回复生日祝福语
17 校长送毕业祝福语简短
18 毕业立体贺卡祝福语简短