Home >> Tutorials >> Javascript tutorials

You can add background music to your web pages.All you do is upload / save the sound file to your web server and Just add the following  HTML code inside the of your page to activate the sound file.

<bgsound scr="jazz1.mid" loop="infinite"> 
<embed src="jazz1.mid" hidden="true" border="0" width="10" height="10" autostart="true" loop="true">


where “jazz1.mid” is the the midi file you wish to listen. The <bgsound> tag is for IE, and the <embed> tag is for NS.

Page contents: itechies.net – Learn how to add Add Background Music to web page