Read the question, write HTML on the right, then Preview or Check.
QuestionHint and solution stay closed until you open them
Embed a <video> with playback controls and a <source> pointing to promo.mp4 (type video/mp4).
The controls attribute gives the viewer play, pause, and volume; the <source> tells the browser which file to play.
Output. A video with controls and an mp4 source.
Examples
Expected
<video controls><source src="promo.mp4" type="video/mp4"></video>
Hint
- Add the boolean attribute controls to <video>.
- Put a <source src="promo.mp4" type="video/mp4"> inside.
Show correct code
Peek only after you have tried. You can still Check your own version.
<video controls width="320">
<source src="promo.mp4" type="video/mp4">
</video>
index.htmlLive preview · Check reads the DOM
ResultIdle
Run to see output. Check grades the tests.