[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
HTMLSPEC-BGSOUND
May be contained in either <body> or <head> and is used for playing sound files upon load of a web document.
Attributes
Specifies the URL of the sound file to be played.
Specifies how many times the sound will be repeated; default value is 1; value of -1 or INFINITE results in continuous play.
Live Example
HTML Tags Center
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
HTMLSPEC-BGSOUND
Bgsound
UsageMay be contained in either <body> or <head> and is used for playing sound files upon load of a web document.
Attributes
src="soundURL"
Specifies the URL of the sound file to be played.
loop="#"
Specifies how many times the sound will be repeated; default value is 1; value of -1 or INFINITE results in continuous play.
Live Example
<html> <head><title>Sound Inclusion Document Example</title> <bgsound src="/playme.midi" loop="-1"> </head> <body> </body> </html>
HTML Tags Center
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
