
Opening tag : <BGSound>
Closing tag: -
Purpose:
BGSound is a way to add sound to your website and is able to play a sound file such as .wav, .au or .mid file. Beware, most users are annoyed by sound when they visit websites - using this tag may scare visitors away from your site!
Attributes:
Autostart = Bool
- If true, your sound file will play immediately on page load.
Loop=#
- A number indicating how many times the sound should be played. Use 'INFINITE' or '-1' to loop continuously.
Src=url
- Link to the sound resource to be played.
Example:
<BGSound src="intro.wav" autostart="true" loop="infinite">
Related Tags:
-
Back to:
Alphabetical Guide
Guide By Type