Copyright © tutorialspoint.com
The HTML <bgsound> tag is used to play a soundtrack in the background. This tag is for Internet Explorer documents only.
In HTML the <bgsound> tag has no end tag.
In XHTML the <bgsound> tag must be properly closed.
<bgsound src="audio/welcome.wav" /> |
This does create any result on the screen but it plays sound file in the background.
Attribute | Value | Description |
---|---|---|
loop | number | Lets you replay a background soundtrack a certain number of times |
src | URL | Speecifies the path of the sound file. |
Copyright © tutorialspoint.com