+ 2

How do I include an audio file in my html code?

I've been trying to do exactly as taught in my html lessons concerning how to add audio files but it's not working. I did the same for picture files but it did not work until I learnt from others that I had to host the pictures online before I could use them. Do I need to do the same for audio files? If so, how do I do it?

13th Feb 2018, 10:53 AM
Torshie Torto
Torshie Torto - avatar
3 Answers
13th Feb 2018, 11:17 AM
Elizabeth🌾
Elizabeth🌾 - avatar
+ 2
https://www.w3schools.com/tags/tag_audio.asp there are lots of materials u can study from this site hmm and u need to save ur audio file within the folder that contains ur html file :)
13th Feb 2018, 11:05 AM
Pawitra
Pawitra - avatar
+ 2
Thank you all.
13th Feb 2018, 5:32 PM
Torshie Torto
Torshie Torto - avatar