sound html code code example
Example 1: how do you play audio files on html
<audio src="sound.mp3" autoplay></audio>
Example 2: html sound
<audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio tag.
</audio>