Answers for "how to insert an audio file in html"

7

how do you play audio files on html

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

how to add audio in html

<audio controls>

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

  <source src="flag.mp3" type="audio/mpeg">
  
</audio>
Posted by: Guest on April-02-2021

Code answers related to "how to insert an audio file in html"

Browse Popular Code Answers by Language