xxxxxxxxxx
<nav class="navbar navbar-light bg-light">
<span class="navbar-text">
Navbar text with an inline element
</span>
</nav>
xxxxxxxxxx
<table class="table table-sm table-dark">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col">Handle</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td colspan="2">Larry the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
xxxxxxxxxx
<table class="table table-hover table-dark">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col">Handle</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td colspan="2">Larry the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
xxxxxxxxxx
. . .
<div class="row row-content">
<div class="col-sm-9">
<h2>Facts & Figures</h2>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr class="bg-primary text-light">
<th></th>
<th>2016</th>
<th>2017</th>
<th>2018</th>
</tr>
</thead>
<tbody class="table-primary">
<tr>
<th>Staff Wilderness Experts</th>
<td>10</td>
<td>20</td>
<td>40</td>
</tr>
<tr>
<th>New Campers</th>
<td>256</td>
<td>1,280</td>
<td>5,360</td>
</tr>
<tr>
<th>Square Miles Covered</th>
<td>101,325</td>
<td>423,000</td>
<td>~3,000,000,000</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
. . .
xxxxxxxxxx
<table class="table">
<thead>
<tr> <th>Head 1</th> <th>Head 2</th> <th>Head 3</th> </tr>
</thead>
<tbody>
<tr> <td>cell</td> <td>cell</td> <td>cell</td> </tr>
<tr> <td>cell</td> <td>cell</td> <td>cell</td> </tr>
</tbody>
<tfoot>
<tr> <th>Footer 1</th> <th>Footer 2</th> <th>Footer 3</th> </tr>
</tfoot>
</table>
xxxxxxxxxx
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col">Handle</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td colspan="3>Mark</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td colspan="3>Jacob</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td colspan="3">Larry the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
xxxxxxxxxx
<!-- On tables -->
<table class="table-primary"></table>
<table class="table-secondary"></table>
<table class="table-success"></table>
<table class="table-danger"></table>
<table class="table-warning"></table>
<table class="table-info"></table>
<table class="table-light"></table>
<table class="table-dark"></table>
<!-- On rows -->
<tr class="table-primary"></tr>
<tr class="table-secondary"></tr>
<tr class="table-success"></tr>
<tr class="table-danger"></tr>
<tr class="table-warning"></tr>
<tr class="table-info"></tr>
<tr class="table-light"></tr>
<tr class="table-dark"></tr>
<!-- On cells (`td` or `th`) -->
<tr>
<td class="table-primary"></td>
<td class="table-secondary"></td>
<td class="table-success"></td>
<td class="table-danger"></td>
<td class="table-warning"></td>
<td class="table-info"></td>
<td class="table-light"></td>
<td class="table-dark"></td>
</tr>
xxxxxxxxxx
<table class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">First</th>
<th scope="col">Last</th>
<th scope="col">Handle</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Larry</td>
<td>the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
xxxxxxxxxx
<link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.18.3/dist/bootstrap-table.min.css">
xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<title>Table of Contents</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="list-group">
<a href="#section1" class="list-group-item list-group-item-action">Section 1</a>
<a href="#section2" class="list-group-item list-group-item-action">Section 2</a>
<a href="#section3" class="list-group-item list-group-item-action">Section 3</a>
</div>
</div>
<div class="col-md-8">
<h2 id="section1">Section 1</h2>
<p>Content of section 1.</p>
<h2 id="section2">Section 2</h2>
<p>Content of section 2.</p>
<h2 id="section3">Section 3</h2>
<p>Content of section 3.</p>
</div>
</div>
</div>
<!-- Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>