Question: How do I set a background sound on my Web page?
In some client configurations, there is no easy way to stop the
background sound from within the browser
(2) That said, there are ways to play background sound on your
pages. In most browsers,
tag (which is now considered obsolete) to play a background sound. For example, if you want to play the file
right after the browser loads the page, you can use the following tags:
To stop the background sound, you can use this function:
If your target browser is Microsoft Internet Explorer (for example, in an intranet), then you can also use the Explorer-specific
stands for the name of the sound file that you actually want to play.