Horje
What is use of the table-striped Class in Bootstrap ?

The .table-striped class in Bootstrap is utilized to add alternating background colors to the rows of a table, improving readability and visual distinction between adjacent rows of tabular data. The rows look zebra-striped and it helps to differentiate between two rows of a table.

Preview

Syntax

<table class="table table-striped">
<!-- Table content goes here -->
</table>

Explanation: When applied to a <table> element along with the .table class, .table-striped adds a background colour to every other row of the table, creating a striped pattern. This enhances the visual appeal of the table and makes it easier for users to differentiate between rows of data.

Ref: /archive/bootstrap-5-table-striped-rows/




Reffered: https://www.geeksforgeeks.org


Bootstrap

Related
What is the use of justify-content Class in Bootstrap ? What is the use of justify-content Class in Bootstrap ?
How to Create a Three-Column Layout in Bootstrap? How to Create a Three-Column Layout in Bootstrap?
How to create a Responsive Image in Bootstrap? How to create a Responsive Image in Bootstrap?
What is use of Columns in Bootstrap Grid System ? What is use of Columns in Bootstrap Grid System ?
How to create Hoverable Table Rows in Bootstrap 5 ? How to create Hoverable Table Rows in Bootstrap 5 ?

Type:
Geek
Category:
Coding
Sub Category:
Tutorial
Uploaded by:
Admin
Views:
11