Loading...

Answered: How to add Audio file in HTML?

Post date: 2021-09-24 18:29:24
Views: 26

This is the sample of code you have to write for adding audio in HTML.

<audio controls>
  <source src="horse.ogg" type="audio/ogg">
  <source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>

Please click Here to read the full story.
 
Other Top and Latest Questions:
Son with eczema wakes up in the middle of the night itching
Keep Me from Joining the Great Resignation...
Are there any good books for college-age people on launching a career?
Donated to take a campaign over its goal. Goal changed afterwards. wtf?
Does opening up a pill alter it's efficacy?
Is it okay to buy multiples of these refrigerated items?
Upscale Philly restaurant recommendations?
How to erase stain on leather chair
Answered: I no longer use custom fonts on the website. Now that font takes about 10 seconds to load. How can this be reduced?
Help me find my ideal stretching routine