how to embed audio in html
snippet in html

how to embed audio in html

user2842

<audio controls>
  <source src="name.mp3" type="audio/mp3" />
</audio>

<audio> in html

user9530


 <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>