1. Home
  2. Computer Science MCQs
  3. Bootstrap
  4. Which class is used to create a responsive embed video in…

Added 1 May 2024

Which class is used to create a responsive embed video in Bootstrap?

  1. .embed-responsive Correct answer
  2. .video-responsive
  3. .responsive-video
  4. .embed-video

Correct answer

A. .embed-responsive

14 views

MCQSEXAM

Explanation

.embed-responsive (with a ratio class such as .embed-responsive-16by9) makes an embedded video or iframe scale with its container in Bootstrap 4.

Bootstrap 5 replaced it with the .ratio helper, e.g. .ratio .ratio-16x9.

Practise more Computer Science MCQs with answers and explanations on MCQsExam.com.

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