Due to the widespread use of <table> elements across third-party widgets like calendars and date pickers, Bootstrap’s tables are opt-in. Add the base class .table to any <table>, then extend with our optional modifier classes or custom styles. All table styles are not inherited in Bootstrap, meaning any nested tables can be styled independent from the parent.
Using the most basic table markup, here’s how .table-based tables look in Bootstrap.
#
First
Last
Handle
1
Mark
Otto
@mdo
2
Jacob
Thornton
@fat
3
Larry the Bird
@twitter
<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&g...
Bootstrap 5 Tables · Basic example. Using the most basic table markup, here's how .table -based tables look in MDB. · Striped. Use .table-striped to add zebra- ... Read More
Bootstrap Tables | Bootstrap table style
Bootstrap Basic Table · Striped Rows · Bordered Table · Hover Rows · Condensed Table · Contextual Classes · Responsive Tables · Test Yourself With Exercises ... Read More
Tables | Bootstrap table style
All table styles are inherited in Bootstrap 4, meaning any nested tables will be styled in the same manner as the parent. #, First, Last, Handle. 1, Mark, Otto ... Read More
Tables · Bootstrap v4.5 | Bootstrap table style
Just add the base class .table to any <table> , then extend with custom styles or our various included modifier classes. Using the most basic table markup, ... Read More
Tables · Bootstrap v4.6 | Bootstrap table style
All table styles are inherited in Bootstrap 4, meaning any nested tables will be styled in the same manner as the parent. Read More
Tables · Bootstrap v5.0 | Bootstrap table style
All table styles are not inherited in Bootstrap, meaning any nested tables can be styled independent from the parent. Using the most basic table markup, here's ... Read More
Tables · Bootstrap v5.1 | Bootstrap table style
Documentation and examples for opt-in styling of tables (given their ... All table styles are not inherited in Bootstrap, meaning any nested tables can be ... Read More