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

Added 1 May 2024

Which class is used to create a tooltip in Bootstrap?

  1. .popup
  2. .tooltip Correct answer
  3. .hint
  4. .popover

Correct answer

B. .tooltip

13 views

MCQSEXAM

Explanation

.tooltip is the class Bootstrap applies to tooltip elements. In practice you add data-bs-toggle="tooltip" and a title to an element and initialise tooltips with JavaScript, because they are opt-in for performance.

A popover is a related but larger component with a title and body.

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