+ 19

How i can set audio on the webpage in html?

25th May 2020, 1:15 PM
DHARTI❤
DHARTI❤ - avatar
22 Answers
+ 37
Using audio 🔉
25th May 2020, 1:24 PM
Shailesh😉❤️
Shailesh😉❤️ - avatar
+ 13
Try to upload audio first in dropbox Then copy it's URL or link And paste in ur code https://code.sololearn.com/W0lz7wOrE1SX/?ref=app
26th May 2020, 3:19 AM
ÃKR
ÃKR - avatar
30th May 2020, 6:42 AM
ÃKR
ÃKR - avatar
+ 10
sajid nawaz welcome, this q & a feed is for ur programming related question https://www.sololearn.com/discuss/1316935/?ref=app
26th May 2020, 9:33 AM
ÃKR
ÃKR - avatar
+ 8
Have you completed the HTML course yet? https://www.sololearn.com/learn/HTML/2193/
25th May 2020, 2:57 PM
Mirielle
Mirielle - avatar
+ 8
Thank you all
29th May 2020, 4:50 PM
DHARTI❤
DHARTI❤ - avatar
+ 6
hello dharti please follow the bellow link (1) https://tutorialehtml.com/en/html-tutorial-embed-audio/ (2) <audio src="/wp-content/uploads/flamingos.mp3" controls> i hope this will help to you
26th May 2020, 4:58 AM
Ishan Shah
Ishan Shah - avatar
+ 5
<audio src="/filename.mp3>audio name</audio>
26th May 2020, 12:29 PM
Paul Ndambo Ngila
Paul Ndambo Ngila - avatar
+ 5
<audio src="songname.mp3" controls autoplay loop>song</audio> This correct and perfect code for playing audio in html
27th May 2020, 5:31 AM
Dinesh Kuniyal
Dinesh Kuniyal - avatar
+ 5
Finish is correct. Follow him
27th May 2020, 5:37 AM
John Thomas Jomy
John Thomas Jomy - avatar
+ 5
Dinesh is correct
27th May 2020, 8:59 AM
John Thomas Jomy
John Thomas Jomy - avatar
+ 4
Check that section and you will get an answer
26th May 2020, 1:11 PM
John Thomas Jomy
John Thomas Jomy - avatar
+ 4
Use the audio tag and direct the src to the audio file
26th May 2020, 7:39 PM
Huzaifa Yunus Wakpainjo
+ 4
<audio controls> <source arc=t audio location> </audio>
3rd Jun 2020, 4:13 AM
John Thomas Jomy
John Thomas Jomy - avatar
+ 3
im new here
26th May 2020, 9:09 AM
sajid nawaz
sajid nawaz - avatar
+ 3
To set audio in your web page use this code. <audio controls> <source src="filename.ogg" type="audio/ogg"> <source src="filename.mp3" type="audio/mpeg"> </audio> There are two types of audio file format. Thank You
31st May 2020, 11:32 AM
Abdu-ur-Rafay
Abdu-ur-Rafay - avatar
+ 3
Use the audio tag in this manner <audio controls> <source src="horse.ogg" type="audio/ogg"> <source src="horse.mp3" type="audio/mpeg"> </audio>
31st May 2020, 7:18 PM
Mohd Yusuf
Mohd Yusuf - avatar
+ 2
<audio controls> <source src="location of the audio"> </audio> maybe. I'm also a beginner uwu.
31st May 2020, 3:02 PM
Garniya Gohain
Garniya Gohain - avatar
+ 1
Sorry
30th May 2020, 6:59 AM
John Thomas Jomy
John Thomas Jomy - avatar
0
Chat to can u follow me
30th May 2020, 6:36 AM
John Thomas Jomy
John Thomas Jomy - avatar