<BGSOUND>
Description
Play a background sound when the page is opened. This element must be placed in
the HEAD section of the document.
Because this element is only supported by the Internet Explorer, I prefer to
use the EMBED element to add a background sound.
This element is now supported by both Internet Explorer and Netscape Navigator.
Attributes
LOOP
Set the number of times the sound is played. If you specify the value -1 or
INFINITE for this attribute, then the sound will be played continuously while
the page is active.
SRC
The address of the sound. The file can be a .wav, .au
or .mid file.
Examples
 |
To experience a page with a background sound
<A href="BGSOUND1.html">view this example</A>.
|
| |
 |
|
To experience a page with a background sound
view this example.
|