Answers

Question and Answer:

  Home  Bootstrap

⟩ Explain me the Bootstrap basic table?

The following table elements are used with Bootstrap:

☛ <table> - It is used for wrapping element for displaying data in a tabular format

☛ <thead> - It is used for container element for table header rows (<tr>) to label table columns.

☛ <tbody> - It is used for container element for table rows (<tr>) in the body of the table.

☛ <tr> - It is used for container element for a set of table cells (<td> or <th>) that appears on a single row.

☛ <th> - Special table cell for column (or row) labels. It must be used within a <thread>

☛ <td> - It is used for default table cell.

☛ <caption> - It is used for description or summary of what the table holds.

Bootstrap Basic Table:

We can create a basic Bootstrap table with basic styling that has a small cell padding and only horizontal dividers by adding Bootstrap class ".table" to the <table> element.

 203 views

More Questions for you: