You are here: HTML > Sounds > <BGSOUND ...>
Attribute for <BGSOUND ...>
LOOP =INFINITE |number of loops
| Usage Recommendation |
| Use with great caution. This is a major way to annoy people. |
LOOP says how many times to loop the background sound. LOOP can either have a finite value
(1, 2, 3 or some other number) or INFINITE which tells the browser to play the sound over and over forever.LOOP can be very annoying . Use it sparingly, or better yet, not at all.
| this code |
produces this |
|
<BGSOUND SRC="helloo.wav" LOOP=5>
|
this page is really annoying
this page |
|
<BGSOUND SRC="helloo.wav" LOOP=INFINITE>
|
this page is really, REALLY annoying
this page |
<SOUND ...> >>>
| |  | |
|