Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

matthew has embedded a video using the html5 video format. the video is…

Question

matthew has embedded a video using the html5 video format. the video is not rendering properly. he asks arlene to help determine the problem, so she reviews his code, which appears as follows: <video height=\210\ class=\center\ controls=\controls\> <video src=\video.ogg\ type=\video/ogg\ /> </video> your browser does not support the html5 video element. what is wrong with this code? the ogg video format is not supported by html5. the browser plug - in information required to view the video is missing. the second instance of the <video> element should be replaced with the <source> element. one of the video tag instances has not been properly closed.

Explanation:

Brief Explanations

In HTML5, to specify video sources correctly, you use a single <video> container tag, and place <source> tags inside it for different video formats (or a single source). The provided code incorrectly uses a second self-closing <video> tag to define the source, which is invalid syntax. Ogg is a supported HTML5 video format, browser plugin info is not required, and the closing tag is present, so those options are incorrect.

Answer:

The second instance of the <video> element should be replaced with the <source> element.