0

How can I insert a song in my code in java or css or even html

28th May 2020, 9:29 AM
⚛️⚛️👨‍🔬👨‍💻 ADHIKSIT 👨‍💻👨‍🔬⚛️⚛️
⚛️⚛️👨‍🔬👨‍💻 ADHIKSIT 👨‍💻👨‍🔬⚛️⚛️ - avatar
4 Réponses
+ 1
In HTML you should use audio tag to insert audio <audio src="songname.mp3" controls autoplay loop > this will insert audio </audio>
28th May 2020, 11:38 AM
Dinesh Kuniyal
Dinesh Kuniyal - avatar
28th May 2020, 1:08 PM
Calviղ
Calviղ - avatar
0
In Java you need to use a package like javax.sound https://docs.oracle.com/javase/tutorial/sound/index.html In HTML use the <audio> tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
28th May 2020, 9:51 AM
Ore
Ore - avatar