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

Added 16 Sep 2025

Which Bootstrap class creates a navigation bar?

  1. .nav
  2. .navbar Correct answer
  3. .menu
  4. .navigation

Correct answer

B. .navbar

14 views

MCQSEXAM

Explanation

The .navbar class in Bootstrap is used to create responsive navigation bars.

Reference

Asked in: Web Development Exams

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

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