How to Put Sound on Your Webpage for Free
Depending on the type of website that you run, you may want to put sound on your webpage for free. However, when most people think of putting sound onto a webpage, they think of an option that requires commercial software or licensing of some kind of specialized sound file. Free sound files called MIDIs can be found across the web, however, and can help you add sound to your page with no cost. Additionally, you will only have to add one line to the HTML code of your webpage to use the MIDI file.
Difficulty: EasyInstructions1Search the web for a free MIDI file; many free directories exist. The file will have an extension of "*.mid", and when played will be instrumental without vocals. Download the file to the same directory as the local components of your webpage.
2Start a free text editing program that you can use to edit your website. Try Notepad, emacs or vi. Open your webpage in the program so you can see the HTML markup code.
3Add this line of code "<a href="yourmidifile.mid">Play Sound</a>" where "yourmidifile.mid" is the filename of the MIDI you downloaded.This will create a link at that exact point on your webpage which users can click to play the music in their browser. Save your webpage. Close the text editor.
4Upload your webpage and the MIDI file from your local machine to your web server using your regular method. Ensure that you upload the MIDI in the same directory as your webpage, just as on the local computer. Visit your webpage; test the link to ensure that you have successfully put the sound onto the webpage.
Tips & WarningsMake sure you also include text to tell people about the sound file that you have added to your webpage. References The Site Wizard: How to Add Background Music to Your Web Page ResourcesFree Midi: Free Midi Songs
