Select the correct element to show a video on a web page
<plugin src="filename.ext" controls="controls"></plugin>
<video src="filename.ext" controls="controls"> </video>
<movie src="filename.ext" controls="controls"> </movie>
<autoplay src="filename.ext" controls="controls"> </autoplay>
Answers
Answered by
10
Answer:
option b
Explanation:
The HTML <video> element is used to show a video on a web page.
Answered by
0
Answer:
Second option is correct. To show a video on a web page, we use the code :
<video src="filename.ext" controls="controls"> </video>
Explanation:
We use <video> tag of HTML to show a video on the web page. This video tag can have attributes like source, controls, autoplay, loop, height and width.
- source: It specifies the name or location of the video file.
- controls: it specifies the basic controls of the browser to play or stop the video.
- autoplay: By using this attribute video will be played automatically when the page is loaded into the browser.
- loop: It will replay the video every time, it finished.
- height: It specifies the height of the video in the browser,
- width: it specifies the width of the video in the browser.
#SPJ3
Similar questions