1. Home
  2. Computer Science MCQs
  3. Bootstrap
  4. Which Bootstrap class creates a responsive fixed-width…

Added 16 Sep 2025

Which Bootstrap class creates a responsive fixed-width container?

  1. .container-fluid
  2. .container Correct answer
  3. .fixed-container
  4. .responsive-container

Correct answer

B. .container

14 views

MCQSEXAM

Explanation

The .container class in Bootstrap creates a responsive fixed-width container that centers content.

Reference

Asked in: Web Development Exams

https://getbootstrap.com/docs/5.0/layout/containers/

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