Recall & Review
beginner
What class do you add to a Bootstrap table to make it bordered?Add the <code>table-bordered</code> class to the <code><table></code> element to add borders around all cells.Click to reveal answer
beginner
How do you create a borderless table in Bootstrap?
Use the <code>table-borderless</code> class on the <code><table></code> element to remove all borders from the table cells.Click to reveal answer
beginner
What is the default Bootstrap table class to get basic styling without borders?The <code>table</code> class gives basic Bootstrap styling with horizontal lines but no cell borders.Click to reveal answer
intermediate
Can you combine
table-bordered and table-borderless classes on the same table?No, these classes have opposite effects. Use only one to either add borders or remove them.
Click to reveal answer
intermediate
Why might you choose a borderless table over a bordered one?
Borderless tables look cleaner and simpler, useful when you want less visual clutter or a minimalist design.
Click to reveal answer
Which Bootstrap class adds borders around all table cells?
✗ Incorrect
The
table-bordered class adds borders around all cells in a Bootstrap table.What does the
table-borderless class do?✗ Incorrect
The
table-borderless class removes all borders from the table cells.Which class provides basic Bootstrap table styling without cell borders?
✗ Incorrect
The
table class gives basic styling with horizontal lines but no cell borders.Can you use
table-bordered and table-borderless together on one table?✗ Incorrect
These classes have opposite effects and should not be combined.
Why might a designer choose a borderless table?
✗ Incorrect
Borderless tables create a cleaner look with less visual clutter.
Explain how to create a bordered table and a borderless table using Bootstrap classes.
Think about which class adds borders and which removes them.
You got /3 concepts.
Describe when you might want to use a borderless table instead of a bordered table in a web page design.
Consider the visual impact on the page.
You got /4 concepts.