+ 1
Including audio file
How can I add an audio file in my HTML code via link?
8 Respuestas
+ 3
Use <audio> </audio>
+ 1
But where will i upload my audio file to create a link to include in HTML code?
+ 1
Usman Muhammed don't spam
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.
0
Use the audio tag.
0
You can add the audio file into your project folder where other files kept.