Which tag defines multiple media resources for media elements, such as <video> and <audio>?

Prepare for the Web Design EOPA Test. Study with interactive quizzes and multiple-choice questions, complete with hints and detailed explanations. Get ready for your web design certification!

Multiple Choice

Which tag defines multiple media resources for media elements, such as <video> and <audio>?

Explanation:
Providing multiple media resources for media elements is done with the <source> tag. You place one or more <source> elements inside a video or audio element, each specifying a different file via the src attribute and declaring the MIME type with type. The browser will try to play the first source it supports, and if that one can’t be played, it will move on to the next. This lets you offer fallback formats for compatibility across browsers. The <track> tag handles text tracks like subtitles and captions, not media data, while the <video> and <audio> tags are the containers that hold the sources.

Providing multiple media resources for media elements is done with the tag. You place one or more elements inside a video or audio element, each specifying a different file via the src attribute and declaring the MIME type with type. The browser will try to play the first source it supports, and if that one can’t be played, it will move on to the next. This lets you offer fallback formats for compatibility across browsers. The tag handles text tracks like subtitles and captions, not media data, while the

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy