There are two different ways to specify the audio source file's URL. The first uses the source attribute:
<audio src="http://www.sololearn.com/uploads/audio.mp3" controls>
    Audio element not supported by your browser
</audio>
Another way of specifying audio URL
<audio controls>
    <source src="http://www.sololearn.com/uploads/audio.mp3" type="audio/mpeg">
    <source src="http://www.sololearn.com/uploads/audio.ogg" type="audio/ogg">
</audio>
by Valeri Tandilashvili
4 years ago
HTML
tags
1
Pro tip: use ```triple backticks around text``` to write in code fences