Bootstrap – Tables


Bootstrap – Tables



”;


This chapter will discuss about bootstrap tables and the classes to create table. Tables is used to organize data in the form
of rows and columns. Tables allow you to group huge amounts of data and present them clearly and in an orderly manner. Some table items supported by Bootstraps are listed below.











Sr.No. Tag & Description
1

<table>

Wrapping element for displaying data in a tabular format

2

<thead>

Container element for table header rows (<tr>) to label table columns.

3

<tbody>

Container element for table rows (<tr>) in the body of the table.

4

<tr>

Container element for a set of table cells (<td> or <th>) that appears on a single row.

5

<td>

Default table cell.

6

<th>

Special table cell for column (or row, depending on scope and placement) labels. Must be used within a <thead>

7

<caption>

Defines a table caption


Simple table

If you want a basic table style with just a little light padding and horizontal dividers, add the .table
class at table, as shown in the example below.