在html页面中添加背景音乐[重复]

This question already has an answer here:

Hello friends I need to Add Background music in html page. I have tried this code.Its working in chrome but not in firefox. Is there anyway to use both browsers.

embed src="Music/music.mp3" autostart="true" loop="infinite"  width="400" height="20"
</div>

For all versions of Netscape, as well as Internet Explorer ("IE") 3.0 and above, you can use the following code:

<embed src="Music/music.mp3" autostart="true" loop="true"
width="2" height="0">
</embed>

For Opera and all IE versions, the following code works:

<bgsound src="Music/music.mp3" loop="infinite">