Bootstrap Tables are an essential component in web development, and Bootstrap provides a powerful set of table classes to style and enhance them. Whether you need striped rows, hover effects, or responsive tables, Bootstrap simplifies the process. The following Multiple-choice questions (MCQs) will help you prepare for interviews and boost your Bootstrap skills.
1.) What is the default class to create a basic table in Bootstrap?
2.) How do you add striped rows in a Bootstrap table?
3.) Which class applies a red background to a table row?
4.) What class makes a table borderless?
5.) Which class is used to change the table background color?
6.) Which Bootstrap class applies a warning (yellow) background to a table row?
7.) What Bootstrap class adds borders to a table?
8.) Which class would you use to apply a green background to a table row?
9.) How do you align text in table cells?
10.) How do you create a small table in Bootstrap?