1. Home
  2. Computer Science MCQs
  3. Bootstrap
  4. Which class is used to create a card in Bootstrap?

Added 1 May 2024

Which class is used to create a card in Bootstrap?

  1. .panel
  2. .card Correct answer
  3. .box
  4. .container

Correct answer

B. .card

17 views

MCQSEXAM

Explanation

.card creates a card — a flexible content box with optional header, body, footer and image. Cards were introduced in Bootstrap 4, replacing the older panels, wells and thumbnails.

.container is a layout wrapper, and .panel belongs to Bootstrap 3.

Want more practice? Try the full set of Computer Science MCQs on MCQsExam.com.

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