Which attribute or tag associates multiple media resources with 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 attribute or tag associates multiple media resources with media elements such as video and audio?

Explanation:
Providing multiple media files for video or audio is done with the source element inside the media element. You can add several source elements, each with a src and a type (like video/mp4 or video/webm). The browser will pick the first source it can play and fall back to the next ones if needed. This lets you offer different formats or resolutions without duplicating the markup. The track element serves for subtitles, captions, or metadata, not for linking multiple media files. The embed element is for embedding plugin-based content, not for supplying multiple media resources. The aria attribute-related option isn’t a valid way to attach media sources either, since ARIA attributes are for accessibility and not for linking sources.

Providing multiple media files for video or audio is done with the source element inside the media element. You can add several source elements, each with a src and a type (like video/mp4 or video/webm). The browser will pick the first source it can play and fall back to the next ones if needed. This lets you offer different formats or resolutions without duplicating the markup.

The track element serves for subtitles, captions, or metadata, not for linking multiple media files. The embed element is for embedding plugin-based content, not for supplying multiple media resources. The aria attribute-related option isn’t a valid way to attach media sources either, since ARIA attributes are for accessibility and not for linking sources.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy