0
How can I insert a song in my code in java or css or even html
4 Respostas
+ 1
In HTML you should use audio tag to insert audio
<audio src="songname.mp3" controls autoplay loop >
this will insert audio
</audio>
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