Search⌘ K
AI Features

Tables

Explore how to use Bootstrap 5 classes to create visually appealing and responsive tables. Learn to apply styles such as light and dark modes, borders, stripes, hover effects, and responsiveness to organize and present data effectively.

Tables are another way of displaying text. They help to organize information in a better way. In this lesson, we'll learn about some Bootstrap classes that turn plain HTML tables into aesthetically pleasing tables.

Light mode

Light mode is a default bootstrap table with .table class on the <table> tag.

Dark mode

We can implement dark mode by adding the .table-dark class along with .table class on the <table> tag.

Light mode table
Light mode table
Dark mode table
Dark mode table
...