HTML5 Question:

Download Job Interview Questions and Answers PDF

HOW DO YOU PLAY A VIDEO USING HTML5?

HTML5 Interview Question
HTML5 Interview Question

Answer:

We can display video using the tag as shown below:

<video width=“320″ height=“240″ controls=“controls”>
<source src=“test.mp4″ type=“video/mp4″ />
</video>

Download HTML5 Interview Questions And Answers PDF

Previous QuestionNext Question
Explain WHAT OTHER ADVANTAGES DOES HTML5 HAVE?WHAT ARE THE DIFFERENT TYPES OF STORAGE IN HTML5?