This page shows two tables: one with borders around each cell and one without any borders. The bordered table helps separate data clearly. The borderless table looks clean and simple.
B. Missing table-borderless class; used borderless instead
C. You need to add table-bordered to remove borders
D. The tr tag is incorrect
Solution
Step 1: Check class names for borderless table
The correct class to remove borders is table-borderless, not just borderless.
Step 2: Verify HTML structure
The table tag is properly closed and tr is correct, so no errors there.
Final Answer:
Missing table-borderless class; used borderless instead -> Option B
Quick Check:
Use exact Bootstrap class table-borderless [OK]
Hint: Use full class table-borderless, not partial names [OK]
Common Mistakes:
Using incomplete or wrong class names
Confusing table-bordered with borderless
Ignoring proper closing tags
5. You want a table with borders only around the entire table but no borders between cells. Which Bootstrap classes should you use?
hard
A. table table-bordered
B. table table-borderless
C. border border-1
D. table border
Solution
Step 1: Understand Bootstrap border classes
table-bordered adds borders around all cells, not just the table.
Step 2: Use border on table only
Bootstrap's border class adds border around the element itself. Combined with table, it provides table styling with border only around the table and no cell borders.
Step 3: Why other options fail
Options B and D add or remove all cell borders. border border-1 adds border but lacks table styling. table border is correct.
Final Answer:
table border -> Option D
Quick Check:
Border on table only needs table border [OK]
Hint: Use table border for outer table border only [OK]
Common Mistakes:
Assuming table-bordered only borders table edges
Omitting the table class and using only border utilities
Confusing cell borders with table border
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.