How we can use auto play audio tag in HTML. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How we can use auto play audio tag in HTML.

27th Mar 2017, 1:45 PM
Mohammad belal Khan
Mohammad belal Khan - avatar
5 Answers
+ 4
Examples: <audio controls autoplay> <source src="example.mp3" type="audio/mpeg" /> <source src="example.ogg" type="audio/ogg" /> </audio> OR <audio autoplay="autoplay" controls="controls"> <source src="example.mp3" type="audio/mpeg" /> <source src="example.ogg" type="audio/ogg" /> </audio
27th Mar 2017, 2:03 PM
Jarod C (Celestial)
Jarod C (Celestial) - avatar
+ 3
Thanks
27th Mar 2017, 2:45 PM
Mohammad belal Khan
Mohammad belal Khan - avatar
+ 2
yes
28th Mar 2017, 8:12 AM
Mohammad belal Khan
Mohammad belal Khan - avatar
0
I think that Mohammad want to talk about some pratic's example of <audio> tag use on the web.because the audio tag syntaxe is already on the HTML 5 programme. It'snt Mohammad ?
28th Mar 2017, 7:39 AM
Fabien Godcoder
Fabien Godcoder - avatar
0
you can use <audio> tag to make you browser an medio player if you don't have one yet
28th Mar 2017, 7:06 PM
Fabien Godcoder
Fabien Godcoder - avatar