1. Home
  2. Computer Science MCQs
  3. Bootstrap
  4. Which attribute is used to enable the lightbox feature for…

Added 2 May 2024

Which attribute is used to enable the lightbox feature for images in Bootstrap 5?

  1. data-bs-toggle
  2. data-bs-target
  3. data-bs-lightbox Correct answer
  4. data-bs-modal

Correct answer

C. data-bs-lightbox

15 views

MCQSEXAM

Explanation

Explanation: <img src="image.jpg" data-bs-lightbox="gallery">

Doubts & discussion

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