Home || Syllabus || Reading || Assignments || Resources || Tutoring


P&P I: Notes on working with Sound

To embed a sound file in your web page so that it plays when the page opens, use the following HTML:

<embed src="filename" autostart="TRUE" hidden="TRUE"></embed>

For example, for the file "StarWars.mp3", the code would read:
<embed src="StarWars.mp3" autostart="TRUE" hidden="TRUE"></embed>

Be sure to upload BOTH the HTML file that calls the sound file as well as the sound file itself to your i5 website. Also be sure to list any important bibliographic information if the audio clip is not copyright-free.

To play a sound without embedding it, use an A HREF tag:

click here to hear a <a href="frogs.wav">frog croak</a>

For example:


Send email to with any questions!