<bgsound>
HTML <bgsound> Tag
Deprecated: HTML5 Not Supported
Example
<bgsound src="sound1.mid">
<bgsound src="sound2.au" loop="infinite">
Meaning
This Internet Explorer element associates a background sound with a page.
Warning: Do not use this! In order to embed audio in a Web page, you should be using the <audio> element.
Standard Syntax
<bgsound src="URL" loop="number">
Advertisement
Attributes
| Value | Description |
|---|---|
| balance | This attribute defines a number between -10,000 and +10,000. and volume will determine. |
| loop | This attribute indicates the number of times a sound is to be played. |
| src | This attribute specifies the URL of the sound file to be played, file must be one of the following types .wav, .au, or .mid. |
| volume | This attribute defines a number between -10,000 and 0 |