Do I have to pick audio from websites? How can I add audio to the website in HTML5? Can anybody tell me step by step🙏 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Do I have to pick audio from websites? How can I add audio to the website in HTML5? Can anybody tell me step by step🙏

20th May 2020, 11:39 AM
Mr.Make-Man
9 Answers
+ 1
I have seen it but still don't get it😩
20th May 2020, 11:45 AM
Mr.Make-Man
+ 1
I just wanna add some music
20th May 2020, 11:48 AM
Mr.Make-Man
+ 1
Ok then add an audio tag then in the src attribute write the path of the audio file
20th May 2020, 11:51 AM
Yash Jain
Yash Jain - avatar
+ 1
You didn't get me lemme explain "<audio controls> <source src="http://www.sololearn.com/uploads/audio.mp3" type="audio/mpeg"> Audio element not supported by your browser. </audio>" here there is the path of sololearn how can I do like it.
20th May 2020, 11:56 AM
Mr.Make-Man
+ 1
Go to the web site from which you want the audio. Then right click on the audio and copy its link then paste it in the src . this might help. try to find a website where you can play music. there i think you will be able to get the link
20th May 2020, 12:00 PM
Yash Jain
Yash Jain - avatar
+ 1
🙏🙏🙏thanks 🙏🙏🙏
20th May 2020, 12:04 PM
Mr.Make-Man
+ 1
This might help you👇👇 https://www.sololearn.com/learn/HTML/2193/
20th May 2020, 12:47 PM
Tarun Kumar
Tarun Kumar - avatar
0
Use the audio tag. It's given in the tutorial
20th May 2020, 11:45 AM
Yash Jain
Yash Jain - avatar
0
Do you want to play something in background or just want to add a music with a play button
20th May 2020, 11:47 AM
Yash Jain
Yash Jain - avatar