![]() |
VOOZH | about |
Bootstrap 5 Small tables are used to create the small size of tables. These tables are just smaller versions of the normal tables.
Bootstrap 5 Small tables Class:
Syntax:
<table class="table table-sm"> ... </table>
Example 1: Here we will create a small table that will not contain any caption or foot.
Output:
Example 2: In this example, we will attach the foot and caption as we did in our normal table, but with a small table.
Output:
Reference: https://getbootstrap.com/docs/5.0/content/tables/#small-tables