Bootstrap provides table classes for styling and responsive behavior:
<div class="table-responsive">
<table class="table table-striped table-hover">
<thead class="table-dark">
<tr>
<th>ID</th>
<th>Name</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>John Doe</td>
<td>john@example.com</td>
</tr>
</tbody>
</table>
</div>
Table classes:
table-striped: Alternate row colorstable-hover: Hover effect on rowstable-bordered: Add borderstable-responsive: Horizontal scrolling on small screenstable-{color}: Contextual background colors