Html tag for audio autoplay code example
Example 1: html5 audio tag autoplay loop
<audio controls loop autoplay height="" width="">
<source src="movie.mp3" type="audio/mp3" />
</audio>
Example 2: html sound autoplay
<audio controls autoplay>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>