bootstrap striped code example
Example 1: bootstrap table list
<table class="table table-bordered">
<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>
Example 2: bootstrap table dense
<table class="table table-condensed">
...
</table>
<table class="table table-sm">
...
</table>
Example 3: table boostrap stripped
<table class="table table-striped">
<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>
Example 4: bootstrap table
<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>