Basic example

For basic styling—light padding and only horizontal dividers—add the base class .tableto any <table>.

# Name Email Access
1 Mark XYZ@Example.com Business
2 Jacob XYZ@Example.com Personal
3 Larry XYZ@Example.com Disabled

Bordered table

Add .table-borderedfor borders on all sides of the table and cells.

# First Name Last Name Username
1 Mark Otto @mdo
2 Mark Otto @TwBootstrap
3 Larry the Bird @twitter

Striped rows

Use .table-stripedto add zebra-striping to any table row within the <tbody>.

# First Name Last Name Username
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter

Table head options

Use one of two modifier classes to make <thead>s appear light or dark gray.

# Name Email Access
1 Mark XYZ@Example.com Business
2 Jacob XYZ@Example.com Personal
3 Larry XYZ@Example.com Disabled

Dark table

Your awesome text goes here.

# First Name Last Name Username
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter
Contextual classes

Use contextual classes to color table rows or individual cells.

# First Name Last Name Username
1 Mark Otto @mdo
2 Larry the Bird @twitter
3 Jacob Thornton @fat