Why is there error in this code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is there error in this code?

<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <audio controls> <source src="audio.mp3" type="audio/mpeg"> <source src="audio.ogg" type="audio/ogg"> Audio element not supported by your browser. </audio> </body> </html> It is showing error for me.

6th Sep 2020, 3:25 AM
Mystic
Mystic - avatar
1 Answer
+ 2
See, you started with <audio controls> tag, but ended with <audio>. https://www.sololearn.com/discuss/335228/?ref=app
6th Sep 2020, 4:01 AM
Charitra
Charitra - avatar