0

What is the difference between the two types of audio tag we use in html ...

13th Jul 2019, 5:28 PM
THE CRAZY ONE ✌️
THE CRAZY ONE ✌️ - avatar
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>
13th Jul 2019, 5:45 PM
THE CRAZY ONE ✌️
THE CRAZY ONE ✌️ - avatar
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/
13th Jul 2019, 5:53 PM
Jella
Jella - avatar
0
Means both are same .. Then in 2 paragraph were we use autoplay and loop
13th Jul 2019, 5:55 PM
THE CRAZY ONE ✌️
THE CRAZY ONE ✌️ - avatar
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.
13th Jul 2019, 5:59 PM
Jella
Jella - avatar
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
13th Jul 2019, 6:05 PM
THE CRAZY ONE ✌️
THE CRAZY ONE ✌️ - avatar