exam questions

Exam 70-480 All Questions

View all questions & answers for the 70-480 exam

Exam 70-480 topic 3 question 39 discussion

Actual exam question from Microsoft's 70-480
Question #: 39
Topic #: 3
[All 70-480 Questions]

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>
Show Suggested Answer Hide Answer
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

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
JMz123
5 years, 9 months ago
There is a typo in two of the answer choices. Classic.
upvoted 3 times
...
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.

SaveCancel
Loading ...