+ 1

Including audio file

How can I add an audio file in my HTML code via link?

23rd Dec 2020, 3:51 AM
Maruf Ahmed Shakil
Maruf Ahmed Shakil - avatar
8 Respuestas
+ 3
Use <audio> </audio>
23rd Dec 2020, 11:28 AM
Nilla
+ 1
But where will i upload my audio file to create a link to include in HTML code?
23rd Dec 2020, 2:08 PM
Maruf Ahmed Shakil
Maruf Ahmed Shakil - avatar
+ 1
Usman Muhammed don't spam
23rd Dec 2020, 10:16 PM
Sonic
Sonic - avatar
0
You can add audio in HTML via an audio tag. Ex:- <audio controls> <source src="https://www.computerhope.com/jargon/m/example.mp3" type="audio/mpeg"> </audio> If you want to play music via link then use this: <a href="https://www.computerhope.com/jargon/m/example.mp3">Play</a> Refer to this code: https://code.sololearn.com/WA6A24a23A1A For more info:https://www.computerhope.com/issues/ch000071.htm I hope it helps you.
23rd Dec 2020, 4:08 AM
Shaili Shah
Shaili Shah - avatar
0
Use the audio tag.
23rd Dec 2020, 7:08 AM
Sonic
Sonic - avatar
0
You can add the audio file into your project folder where other files kept.
24th Dec 2020, 3:11 PM
Mamta Sikarwar
Mamta Sikarwar - avatar