HTML and CSS Reference
In-Depth Information
Platform of
origin
Format
Type
Extension
Acrobat
Document pdf
Any
5.4.1.2. The loop attribute
As with inline movies, the loop attribute for the browser's <bgsound> tag
lets you replay a background soundtrack a certain number of times (or
indefinitely), at least until the user moves on to another page or quits
the browser.
The value of the loop attribute is the integer number of times to replay
the audio file, or infinite , which makes the soundtrack repeat end-
lessly.
For example:
<bgsound src="audio/tadum.wav" loop=10>
repeats the ta-dum soundtrack 10 times, whereas:
<bgsound src="audio/noise.wav" loop=infinite>
continuously plays the noise soundtrack.
 
Search WWH ::




Custom Search