HTML & CSS Audio, Video & iframe Quiz

This HTML quiz covers the <audio>, <video> and <iframe> elements. You will add controls, captions and fallbacks, see how browsers pick a source and handle autoplay, and make embedded pages accessible and safer.

Easy 10 questions ~5 minutes Pass at 80%

Choose a mode

Playing as a guest: sign in to keep your XP and streak.

Sample question

Question 1 of 10

What does the user see?

<video src="intro.mp4"></video>
Show the answer

D. A video area with no playback controls, because controls is missing Without the controls attribute the browser shows no built-in controls, so the user cannot start the video unless a script does. It does not autoplay either.

What this quiz covers

  • controls, autoplay, muted, loop and poster
  • Several <source> elements and fallback content
  • Captions with <track>
  • <iframe> with title and sandbox
  • playsinline for phones

Questions people ask

Do I need an account?

No. Anyone can play. Sign in to keep your XP, streak, badges and history.

Can I retake it?

Yes. Your best score is kept, and the questions and answers are shuffled each time.