Bootstrap Question:
Download Job Interview Questions and Answers PDF
Explain me the Bootstrap basic table?
Answer:
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.
☛ <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.
Download Bootstrap Interview Questions And Answers
PDF
Previous Question | Next Question |
What are the components of Bootstrap? | Tell me how will you create a progress bar using bootstrap? |