HTML | <bgsound> tag
The HTML <bgsound> tag is used to play the soundtrack in the background, when you leave the page behind and open a new tab this tag will continuously play the track in the background.
This tag is not for other browsers except the Internet Explorer. It does not display any graphical interface just played the track in the background.
- src: This attribute holds the path of the tack that will be played in the background.
- loop: This attribute holds a number that the number of times the track will play looping around.
Below example illustrate the HTML <bgsound> tag:
Supported Browsers: The supported browsers by HTML | <bgsound> tag are listed below:
- Internet Explorer