Media in HTML MCQs Exercise I

Ques 1 Media


Which HTML5 media element is used for embedding video content?

A <video>
B <audio>
C <media>
D <embed>

The <video> element in HTML5 is specifically designed for embedding video content.

Ques 2 Media


What attribute is used to specify the video source file in the <video> element?

A source
B src
C file
D media

Ques 3 Media


What attribute is used to define alternative text or a caption for media elements to provide accessibility and description?

A label
B caption
C description
D alt

The alt attribute specifies an alternative text for media elements, such as images, providing a description for accessibility-e.g., for screen readers-and when the media cannot be displayed.