HTML5 Question:

HOW DO YOU PLAY A AUDIO USING HTML5?

Tweet Share WhatsApp

Answer:

We can display audio using the tag as shown below:

<audio controls=“controls”>
<source src=“test.mp3″ type=“audio/mp3″ />
</audio>

Download HTML5 PDF Read All 23 HTML5 Questions
Previous QuestionNext Question
WHAT ARE THE DIFFERENT TYPES OF STORAGE IN HTML5?What is the difference between HTMl5 Application cache and regular HTML browser cache?