You can add sound to a web page. There are several different types of sound files and formats, including .wav, .midi, and .mp3. For more information, see About audio file formats. Some factors to consider before deciding on a format and method for adding sound are its purpose, your audience, file size, sound quality, and differences in browsers.
NOTE |
|
Sound files are handled very differently and inconsistently by different browsers. You may want to add a sound file to a Flash SWF file and then embed the SWF file to improve consistency. |
This section contains the following topics:
Linking to an audio file is a simple and effective way to add sound to a web page. This method of incorporating sound files lets visitors choose whether they want to listen to the file, and makes the file available to the widest audience.