HTML5 Audio and Video Flashcards
6 cards from real HTML5 practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 6 HTML5 Audio and Video flashcards as text
Which HTML5 element is used to embed audio content on a web page?
Answer:
The element embeds sound content in a document and supports multiple source formats via nested elements.
Which attribute on the element makes the video start playing automatically when the page loads?
Answer: autoplay
The autoplay attribute causes the video to begin playing as soon as it is ready, though browsers often require muted to be set as well.
What does the 'controls' attribute on or do?
Answer: Displays the browser's native playback controls
The controls attribute tells the browser to display its built-in playback controls including play, pause, volume, and progress bar.
Which element is used inside or to specify multiple media file sources?
Answer:
The element is placed inside or to specify multiple media files in different formats, allowing the browser to choose the one it supports.
What HTML5 element is used to provide text tracks (subtitles or captions) for a video?
Answer:
The element specifies timed text tracks (subtitles, captions, chapters) for media elements in WebVTT format.
Which format is natively supported for subtitles and captions in HTML5 elements?
Answer: WebVTT (.vtt)
WebVTT (Web Video Text Tracks) is the native HTML5 format for timed text tracks, used with the element.