Tables are used to clearly display the contents in an organized form so that data is easily accessible and readable.
# |
Category |
Item |
ItemID |
---|---|---|---|
1 |
Apparel |
Blue Shirt |
|
2 |
Apparel |
White Coat |
|
3 |
Accessories |
Leather Belt |
|
In the preceding table, is the basic version of a Bootstrap table with light padding and horizontal dividers only. The syntax is as follows:
<table class="table"> ... </table>
The structure of striped rows is the same as that of the basic table, its style is similar to the strips of zebra crossing, that is, lighter and darker alternative rows:
<table class="table table-striped"> ... </table>