Music can be played in the background to a webpage, while the page is viewed. This is known as ‘inline’ sound or movie. The <bgsound> tag is used to attach an inline sound file in HTML.
The src attribute is used to define the location of the media file. Volume attribute used to adjust volume control. The loop attribute defines the duration of play. The ‘infinite’ value causes the audio play as j long as the page is in view.