+ 1

How to add a audio file in html document

Main koshish kar chuki hoon par samajh nahi aaya

29th Jun 2019, 4:35 PM
Anmol Chopra
Anmol Chopra - avatar
5 Answers
29th Jun 2019, 4:39 PM
Faisal
Faisal - avatar
+ 3
Oh sorry! Just got your question If you're only coding a program on your desktop, all you would need to do is download an mp3 file (or whatever file type you want for your audio), and move that file to the same location as your HTML document. From there, all you would need to do is put in the name of the file in the src attribute of the <audio> element and it should work
29th Jun 2019, 5:03 PM
Faisal
Faisal - avatar
+ 3
Thanks
29th Jun 2019, 5:05 PM
Anmol Chopra
Anmol Chopra - avatar
+ 2
Ohk thanjks
29th Jun 2019, 5:05 PM
Anmol Chopra
Anmol Chopra - avatar
+ 1
How to add an audio file
29th Jun 2019, 4:41 PM
Anmol Chopra
Anmol Chopra - avatar