HTML — Adding Audio in HTML
Use the <audio>
tag to embed audio files. Use the controls
attribute to display play/pause buttons.
<audio controls>
<source src=\"sound.mp3\" type=\"audio/mpeg\" />
Your browser does not support the audio element.
</audio>