Bootstrap Interview

Bootstrap Images Interview

1Class for responsive images?
Answer: .img-fluid.
2How to make circular image?
Answer: Use .rounded-circle.
3How to make thumbnail style image?
Answer: Use .img-thumbnail.
4How to center image block?
Answer: Use .d-block .mx-auto.
5Why is alt text important?
Answer: Accessibility and fallback context if image fails.