Recall & Review
beginner
What Bootstrap class makes a table smaller and more compact?The <code>.table-sm</code> class makes a Bootstrap table smaller by reducing cell padding, making it more compact.Click to reveal answer
beginner
How does
.table-sm affect the table's appearance?It reduces the padding inside table cells, so the table looks tighter and uses less vertical space.
Click to reveal answer
intermediate
Can
.table-sm be combined with other Bootstrap table classes?Yes, you can combine
.table-sm with classes like .table-striped or .table-bordered to keep compact spacing while adding styles.Click to reveal answer
beginner
Why use small and compact tables in web design?
They save space on the page, making data easier to scan especially on smaller screens or when showing lots of data.
Click to reveal answer
beginner
What is the HTML structure to apply a small Bootstrap table?
Use
<table class="table table-sm"> with your table rows and cells inside.Click to reveal answer
Which class makes a Bootstrap table smaller and more compact?
✗ Incorrect
The correct class is
.table-sm. The others are not valid Bootstrap classes.What does the
.table-sm class change in a Bootstrap table?✗ Incorrect
.table-sm reduces the padding inside table cells to make the table more compact.Can you use
.table-sm with .table-striped?✗ Incorrect
Bootstrap allows combining
.table-sm with other table classes like .table-striped.Why might you choose a small table style?
✗ Incorrect
Small tables save vertical space by reducing padding, making data easier to view.
What is the correct HTML to start a small Bootstrap table?
✗ Incorrect
Use
<table class='table table-sm'> to create a small Bootstrap table.Explain how to create a small and compact table using Bootstrap and why you would use it.
Think about the class that changes padding and the benefits of compact tables.
You got /4 concepts.
Describe how combining .table-sm with other Bootstrap table classes affects the table's look and usability.
Consider how multiple classes work together in Bootstrap.
You got /4 concepts.