Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1<video src="clip.mp4" controls></video> | AThe file name is written as text between the tags instead of being given in the src attribute, so no video loads. It should be <video src="clip.mp4" controls></video>. | |
| 2<audio src="song.mp3" controls></audio> | BThere is no controls attribute and no closing </audio> tag, so the viewer gets no play button. It should be <audio src="song.mp3" controls></audio>. | |
| 3Add the controls attribute so the viewer gets play and pause buttons on a video | C<video src="intro.mp4" controls>Video not supported.</video> | |
| 4Fallback text between the tags is shown if the browser cannot play the video | DEmbeds a sound file in the page with a player the viewer can use to play and pause it. | |
| 5<video controls>clip.mp4</video> | E<video src="intro.mp4" controls></video> | |
| 6<audio src="song.mp3"> | FEmbeds a video file in the page and shows play and pause buttons for the viewer. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
<video controls> — The <video> element embeds a video in a page. Its src attribute gives the file, and controls adds play and pause buttons. The <audio> element works the same way for sound.<video src="clip.mp4" controls></video><audio src="song.mp3" controls></audio><video src="trailer.mp4" controls></video><video src="clip.mp4" controls>
Your browser cannot play this video.
</video><audio src="https://example.com/pod.mp3"
controls></audio>