1D0-720 · Question #36
Which HTML5 tag is used to embed video content?
The correct answer is A. <video>. <video> is the dedicated HTML5 element for embedding video content, supporting attributes like src, controls, autoplay, and loop, and accepting <source> child elements for multiple format fallbacks. <media> does not exist as an HTML tag - it's a CSS feature (@media queries)…
Question
Which HTML5 tag is used to embed video content?
Options
- A<video>
- B<media>
- C<audio>
- D<embed>
How the community answered
(25 responses)- A92% (23)
- C4% (1)
- D4% (1)
Explanation
<video> is the dedicated HTML5 element for embedding video content, supporting attributes like src, controls, autoplay, and loop, and accepting <source> child elements for multiple format fallbacks. <media> does not exist as an HTML tag - it's a CSS feature (@media queries), making it a common trap. <audio> is a real HTML5 tag but is specifically for audio-only content, not video. <embed> is a legacy tag for embedding external plugins or content (like old Flash), not the modern semantic choice for native video.
Memory tip: Think "what you see is what you get" - the tag name matches the content type exactly: <video> for video, <audio> for audio.
Topics
Community Discussion
No community discussion yet for this question.