0
What is the difference between the two types of audio tag we use in html ...
5 Answers
0
<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>
<audio src="http://www.sololearn.com/uploads/audio.mp3" controls>
Audio element not supported by your browser
</audio>
0
First paragraph:
If the browser does not support the first audio element it will switch to the second.
In conclusion no difference.
https://www.sololearn.com/learn/HTML/2193/
0
Means both are same ..
Then in 2 paragraph were we use autoplay and loop
0
Auto play.
This means that the audio starts playing automatically without needing to hit the play button.
Loop:
The audio plays endlessly without stopping.
0
Dude i wanna know that
In 2 nd audio programming were we use autoplay and loop
Becoz in first one
We write this inside the audio tag .
But in second program this is not possible
Can u please make program of 2 paragraph by using autoplay and loop