BGSOUND HTML Element

Send Feedback

The BGSOUND element enables a background sound to be played when the page is visited. This element does not require a closing tag. The sound will only be played one time, regardless of the value of the LOOP attribute.

Attributes

Attribute Value Description
SRC URL Specifies the URL of the sound to be played. The only supported file format is WAV. Some devices might not support all sampling rates and bit depths, which can result in the file not playing.
LOOP   Number of times to play the sound.
Note   This attribute is not supported in Internet Explorer Mobile.

Requirements

Pocket PC: Pocket PC 2002 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later

See Also

Internet Explorer Mobile HTML Elements

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.