how to take a audio file and put on html code example
Example 1: how do you play audio files on html
<audio src="sound.mp3" autoplay></audio>
Example 2: how to add audio in html
<audio controls>
<source src="flag.ogg" type="audio/ogg">
<source src="flag.mp3" type="audio/mpeg">
</audio>