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

Added 16 Sep 2025

Which Bootstrap class creates a tooltip?

  1. data-bs-toggle="tooltip" Correct answer
  2. .tooltip
  3. .tip
  4. .hover-tip

Correct answer

A. data-bs-toggle="tooltip"

14 views

MCQSEXAM

Explanation

The data-bs-toggle="tooltip" attribute creates tooltips that appear when hovering over elements.

Reference

Asked in: Web Development Exams

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

Preparing for an exam?

Doubts & discussion

Not sure why the answer is A? 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