Back to Concepts
<source>
Media resource for video/audio.
The `<source>` tag is used to specify multiple media resources for media elements, such as `<video>`, `<audio>`, and `<picture>`. The browser will choose the first source it supports.
Live Example & Code
Preview Output
<audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
</audio>