|
|
home
/ reference
/ html
<sound></sound>

src
loop
delay
The sound tag is used to insert a sound to be played while someone is
viewing a page.
<sound src="">
| |
Description
| |
The src attribute is used to define the source of the sound file.
Here you would enter the filename if the file is in the current directory,
or the file path and file name if it is in a separate directory.
|
Code
| |
<sound src="FILENAME.wav"></sound>
|
Appearance
|
<sound loop="">
| |
Description
| |
The loop attribute allows you to specify that the sound will
loop for an infinite amount of time.
|
Code
| |
<sound loop="infinite"></sound>
|
|
<sound delay="">
| |
Description
| |
The delay attribute allows you to delay the sound from playing for a specified
number of seconds after the page and sound finish downloading.
|
Code
|
|