Bootstrap provides built-in classes to style images and icons efficiently. Whether it’s responsive images, circular avatars, or using icon libraries, Bootstrap simplifies web design. The following Multiple-choice questions (MCQs) will help you prepare for interviews and boost your Bootstrap skills.
1.) What Bootstrap class makes an image responsive?
2.) What is the default width of an image using .img-fluid?
3.) How do you create a circular image in Bootstrap?
4.) What class adds rounded corners to an image?
5.) Which class is used to float an image to the right in Bootstrap?
6.) What Bootstrap class is used to center an image?
7.) What class do you use to add a shadow to an image?
8.) How do you make an image appear as a thumbnail?
9.) Which Bootstrap class ensures an image is aligned in the center?
10.) What Bootstrap class is used to add a background color to an SVG icon?