Register to Better Coder! It's free.
Enjoy the premium features and succeed at every job interview.

How do you add zebra-striping to a table using Bootstrap?

Experience Level: Junior
Tags: Bootstrap 4


In order to create a table with zebra-striping, use standard html tags <table>, <tr>, <th> and <td>. Then add a class table table-striped to the <table> tag.

Striped Bootstrap table
<table class="table table-striped">


No Comments Yet.
Be the first to tell us what you think.
Bootstrap for beginners
Bootstrap for beginners

Are you learning Bootstrap ? Try our test we designed to help you progress faster.

Test yourself