+ 2
How to add background music to my html page?
4 Respostas
+ 5
inside body tag
<embed src="bgsound.mp3" autostart="true" loop="true">
+ 2
<audio controls autoplay hidden>
<source src="link/to/file/file.mp3" type="audio/mpeg">
If you're reading this, audio isn't supported.
</audio>
+ 1
you can do it but I wouldn't, people hate music that automatically plays when you load web pages