<bgsound> tag is used to play a sound in the background. It is specifically used by Internet Explorer only and other browsers ignore it. It downloads and plays an audio file when the web page is first downloaded by the user and displayed. The background sound file will replay if the user refreshes the web page.
It has two attributes which are
loop – To play sound continuously (set loop to true), a certain number of times (a positive
value) or not at all (false).
src – It stores the path to sound file
As shown in a example
<bgsound src=”/music/file.wav” >
<noembed><img src=”image.jpg” alt=”image.jpg” /></noembed>
This tag does not display any component and remains hidden. Internet Explorer can handle three sound format files of wav, au and MIDI.