Background sound or music can be added in a html programming using the following code
Looping for a number of times.
Replace n with a number
<bgsound src="path_to_file/filename.wav" loop="n">
Looping infinite times
<bgsound src="path_to_file/filename.wav" loop="infinite">
The following parameters when added to the body tag will fix the background image of the html document. That means, when you scroll down the page, the background will remain in its place and will not change or scroll.
<body background="images/background.jpg" bgproperties=fixed>