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

Added 16 Sep 2025

Which Bootstrap class creates a button?

  1. .button
  2. .btn Correct answer
  3. .btn-primary
  4. .bootstrap-btn

Correct answer

B. .btn

13 views

MCQSEXAM

Explanation

The .btn class in Bootstrap is used to create styled buttons with various color options.

Reference

Asked in: Web Development Exams

https://getbootstrap.com/docs/5.0/components/buttons/

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