What is the use of Audio element not supported by your browser in this code?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the use of Audio element not supported by your browser in this code??

<audio src="http://www.sololearn.com/uploads/audio.mp3" controls> Audio element not supported by your browser </audio>

25th Sep 2020, 4:11 AM
Rudra. Sai Chandra Prakash
Rudra. Sai Chandra Prakash - avatar
3 Answers
+ 1
The text between the <audio> and </audio> tags will only be displayed in browsers that do not support the <audio> element . If the source audio is not supported , then the message will be displayed in the place of tha audio element .
25th Sep 2020, 4:28 AM
Akash Kumar S
Akash Kumar S - avatar
+ 1
Sometimes we have to say 'audio doesn't support' because in some browsers like IE. or the people didn't update their browser for years. well, you can decide to remove the 'Audio element not supported by your browser' from audio tag. it will still work as normal.
25th Sep 2020, 4:27 AM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 1
Hey , Rudra. Sai Chandra Prakash this will help you better. HAPPY CODING!! https://www.sololearn.com/learn/HTML/2193/
25th Sep 2020, 4:36 AM
Giriraj Yalpalwar
Giriraj Yalpalwar - avatar