HTML <source> Tag

<audio controls>
<source src="https://www.PuStudy.Com/resources/good-enough.mp3" type="audio/mpeg">
<source src="https://www.PuStudy.Com/resources/good-enough.wma" type="audio/x-ms-wma">
<p>Fallback content: This message is only displayed on browsers that don't support the HTML 'audio' element.</p>
</audio>

The above example demonstrates usage of the <source> element.

The <source> element allows you to specify multiple alternative media sources for the <audio> and <video> elements.

The src attribute is used to provide the URL of the resource.

In the above example, two separate source files are provided — an MP3 file and a WMA file. If the first one isn't supported, the browser will try the next one.