SOUND
Home Up hypertext HTML HTML tags More HTML effects.htm SOUND Colors Java script FTP

SOUND!!

To add a sound in your web page, you need to know about sound files.

Music files are generally either .WAV (Wave) or .MID (Midi = Musical Instrument     Digital Interface) or .MP3.  (Moving pictures expert group 3rd level data compression) You can store music, or your voice!  

Watch the size of your sound file! If people have to wait five minutes to download your sound, they have left your site before they hear the first note.

You can put your sound on your web page like a link:

CLICK HERE TO HEAR MY SOUNDFILE
<a href="hello.wav">CLICK HERE TO HEAR MY SOUNDFILE</a>

or make a picture that is a link (click on the picture above)

For longer sound files, I recommend that you add some controls to your website, so people can TURN IT OFF!

To get your sound to play in your website, type the following code in your HTML code before you finish your heading  </head>

<EMBED SRC="hello.wav" WIDTH="180" HEIGHT="80" AUTOSTART="TRUE" REPEAT="TRUE"> 

EMBED SRC="hello.wav" specifies the sound file. 

WIDTH and HEIGHT are the size of the control panel that appears on the page. 

AUTOSTART="TRUE" causes the sound to start when you open that page. AUTOSTART="FALSE" only starts the sound when somebody clicks play om the control button

REPEAT="TRUE" makes the sound to loop until the user clicks stop. REPEAT="FALSE" will play the sound only once.

PS. The sound control is actually a plug in!