1. Home
  2. Computer Science MCQs
  3. Bootstrap
  4. What is the purpose of the .container class in Bootstrap?

Added 1 May 2024

What is the purpose of the .container class in Bootstrap?

  1. To center-align content
  2. To create a responsive grid container Correct answer
  3. To apply a border around elements
  4. None of the above

Correct answer

B. To create a responsive grid container

16 views

MCQSEXAM

Explanation

The .container class in Bootstrap is used to create a responsive grid container that wraps and contains the grid system's columns.

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