0
0
Bootsrapmarkup~5 mins

Small and compact tables in Bootsrap - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
A.table-small
B.table-compact
C.table-sm
D.table-tight
What does the .table-sm class change in a Bootstrap table?
AReduces cell padding
BChanges text color
CAdds borders
DMakes table full width
Can you use .table-sm with .table-striped?
AOnly on mobile devices
BNo, they conflict
COnly with JavaScript
DYes, they can be combined
Why might you choose a small table style?
ATo save vertical space
BTo increase font size
CTo add animations
DTo disable scrolling
What is the correct HTML to start a small Bootstrap table?
A<table class='compact'>
B<table class='table table-sm'>
C<table class='small-table'>
D<table class='table-small'>
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.