You are creating an HTML5 application that allows users to play video on a page by using the VIDEO element. You need to enable the user to start, stop, and pause the video. Which line of code should you add to the page?
A.
<video id= "myVideo" height="320" width="400" src="myVideo.vtt" contextmenu="pauseplay"> </video>
B.
<video id="myVideon height"="320" width="400" src="myVideo.vtt" controls> </video>
C.
<video _d="myVideon height="320" width="400" src="myVideo.vtt" autoplay> </video>
D.
<video id="myVideo" height="320" width="400" src="myVideo.vtt" contextinenu="Startstopn> </video>
Suggested Answer:B🗳️
The HTML <video> Element - To show a video in HTML, use the <video> element: The controls attribute adds video controls, like play, pause, and volume.
Example - <video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> Your browser does not support the video tag. </video> Reference: HTML5 Video
There is a typo in two of the answer choices. Classic.
upvoted 3 times
...
This section is not available anymore. Please use the main Exam Page.70-480 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
JMz123
5 years, 9 months ago