1. Home
  2. Computer Science MCQs
  3. Bootstrap
  4. Which Bootstrap class creates a responsive image?

Added 16 Sep 2025

Which Bootstrap class creates a responsive image?

  1. .img-responsive
  2. .img-fluid Correct answer
  3. .responsive-img
  4. .scale-image

Correct answer

B. .img-fluid

14 views

MCQSEXAM

Explanation

The .img-fluid class in Bootstrap makes images scale nicely to the parent element.

Reference

Asked in: Web Development Exams

https://getbootstrap.com/docs/5.0/content/images/

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Bootstrap MCQs

Practise all Bootstrap MCQs

Similar MCQs