Answers for "<audio controls> html"

7

how do you play audio files on html

<audio src="sound.mp3" autoplay></audio>
Posted by: Guest on March-15-2020
0

HTML Audio

<audio controls autoplay muted>

  <source src="horse.ogg" type="audio/ogg">

  <source src="horse.mp3" type="audio/mpeg">

 Your browser does not support the audio element.

 </audio>
Posted by: Guest on May-31-2021

Browse Popular Code Answers by Language