0
0
Bootsrapmarkup~5 mins

Basic table styling in Bootsrap - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What class does Bootstrap provide to style a basic table?
Bootstrap uses the <code>table</code> class to add basic styling to HTML tables, making them clean and readable.
Click to reveal answer
beginner
How do you add striped rows to a Bootstrap table?
Add the <code>table-striped</code> class along with <code>table</code> to create alternating row colors for better readability.
Click to reveal answer
beginner
What Bootstrap class makes a table have borders around all cells?
Use the <code>table-bordered</code> class to add borders around every cell in the table.
Click to reveal answer
beginner
How can you make a Bootstrap table rows highlight on hover?
Add the <code>table-hover</code> class to the table to highlight rows when the mouse pointer moves over them.
Click to reveal answer
beginner
What class makes a Bootstrap table more compact with less padding?
Use the <code>table-sm</code> class to reduce cell padding and make the table more compact.
Click to reveal answer
Which class adds basic Bootstrap styling to a table?
Atable-style
Btable-basic
Ctable
Dtable-default
How do you add alternating row colors in Bootstrap tables?
Atable-striped
Btable-hover
Ctable-bordered
Dtable-condensed
Which class adds borders around all table cells?
Atable-border
Btable-outline
Ctable-frame
Dtable-bordered
What class highlights rows on mouse hover?
Atable-hover
Btable-highlight
Ctable-active
Dtable-focus
Which class makes a Bootstrap table more compact?
Atable-small
Btable-sm
Ctable-compact
Dtable-tight
Explain how to create a Bootstrap table with striped rows, borders, and hover effect.
Think about combining multiple Bootstrap table classes.
You got /4 concepts.
    Describe the purpose of the table-sm class in Bootstrap tables.
    It affects the size and spacing inside table cells.
    You got /3 concepts.