Here is an example of the tag:
This tells the browser to place this file on the page right where
you placed the tag. You don't have to use a wav file, you can embed a .midi,
.aud, and most other sound formats in this way. As you can see, the src="" is
asking for the source of the wav file, or its internet address. Just type in the
web address of your sound file here.
Now, you can add additional commands to the tag to control the output and appearance of your sound file. Here are some common commands you may wish to use:
Tells the browser how wide you wish the sound display to be. Input a number in pixels.
Tells the browser how tall you want the sound display to be. Input a number in pixels.
Instructs the browser to begin playing the file automatically once it has been loaded on the page. You can set this value to true or false. The default is false.
Instructs the browser to play the file over and over again for as long as someone is on that page, or until the user hits the stop button on the display. You can set this value to true or false. The default is false.
This command tells the browser to hide the sound display so people viewing you page don't see the sound display with the control buttons. The sound plays as though it were just in the background somewhere. You can set this to true or false. The default is false.
Here is an example using multiple commands: