+ 1
How a source tag can be linked to media files inside video and audio element
Friends, my suspects are that how can I link the source tag to various media files and how it will work?
2 ответов
+ 8
Hey there 😃
In HTML, if we want to link to various forms of audio, like mp3 and ogg, we can use the <source> tag
<audio>
<source src="song.mp3">
<source src="song.ogg">
Sorry, can't play audio at the moment...
</audio>
Hope it helps 😃
0
If i change the audio of second source element as song2.mp3 what will happen?
Does it play multiple songs at same time or play the next song after one by one?