How i can set audio on the webpage in html? | SoloLearn: Learn to code for FREE!

+18

How i can set audio on the webpage in html?

5/25/2020 1:15:03 PM

Dharti Valand

25 Answers

New Answer

+29

Using audio 🔉

+26

+12

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

+11

Christian Nwamara don't post your question in someone other questions https://www.sololearn.com/discuss/1316935/?ref=app

+10

John Thomas don't spam here https://www.sololearn.com/discuss/1316935/?ref=app

+9

sajid nawaz welcome, this q & a feed is for ur programming related question https://www.sololearn.com/discuss/1316935/?ref=app

+7

Have you completed the HTML course yet? https://www.sololearn.com/learn/HTML/2193/

+7

Thank you all

+5

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

+4

<audio src="songname.mp3" controls autoplay loop>song</audio> This correct and perfect code for playing audio in html

+4

Finish is correct. Follow him

+4

Dinesh is correct

+3

im new here

+3

<audio src="/filename.mp3>audio name</audio>

+3

Check that section and you will get an answer

+3

Use the audio tag and direct the src to the audio file

+3

<audio controls> <source arc=t audio location> </audio>

+2

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

+2

Use the audio tag in this manner <audio controls> <source src="horse.ogg" type="audio/ogg"> <source src="horse.mp3" type="audio/mpeg"> </audio>

+2

How can I get as many followers as you