HTML5 Question:

HOW DO YOU PLAY A VIDEO USING HTML5?

Tweet Share WhatsApp

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 PDF Read All 23 HTML5 Questions
Previous QuestionNext Question
Explain WHAT OTHER ADVANTAGES DOES HTML5 HAVE?WHAT ARE THE DIFFERENT TYPES OF STORAGE IN HTML5?