A basic Bootstrap 5 table has a light padding and horizontal dividers.
The .table class adds basic styling to a table:
Responsive tables allow tables to be scrolled horizontally with ease. Make any table responsive across all viewports by wrapping a .table with .table-responsive. Or, pick a maximum breakpoint with which to have a responsive table up to by using .table-responsive{-sm|-md|-lg|-xl}.
The .table-striped class adds zebra-stripes to a table.
The .table-bordered class adds borders on all sides of the table and cells.
The .table-hover class adds a hover effect (grey background color) on table rows.
The .table-dark class adds a black background to the table.
Combine .table-dark and .table-striped to create a dark, striped table.
The .table-hover class adds a hover effect (grey background color) on table rows.
The .table-borderless class removes borders from the table.
Contextual classes can be used to color the whole table (<table>), the table rows (<tr>) or table cells (<td>).
The .table-sm class makes the table smaller by cutting cell padding in half.
The .table-responsive class adds a scrollbar to the table when needed (when it is too big horizontally)