How to Add an MP3 to a Web Site
An MP3 file is a type of audio file. The name stands for MPEG-1 audio with layer 3 compression. MP3 files are a common choice for converting music to digital format. Adding an MP3 file to a website is the same as adding any other type of file, such as a .DOC or .PDF document. For visitors to access the MP3 on your website, you need to create a link to the file. A text link is the most basic link to add. You could also add a link to a button or a menu by selecting the graphic or menu to link instead of the text.
Instructions
-
-
1
Open the web page you want to add the MP3 file to with your web editing software.
-
2
Add text at the location you want the user to click to start the MP3 file to indicate there is an MP3 file available. For example, you could add text that says, "Listen to my Interview on WXYZ."
-
-
3
Select that text you added and create a link to the MP3 file you want to play on the website by typing the MP3 file name into the "Add Link" section of your web editing software or by inserting an A HREF tag into your HTML code. The link code would look something like: <a href="path_to_file/my_interview.mp3" target="_blank" >Listen to my Interview on WXYZ</a>.
-
4
Save changes to your web page.
-
5
Upload your web page and the MP3 file to your web server.
- 6
-
1
Tips & Warnings
Check your browser preferences window for which application is associated with MP3 files. That will tell you how the files will play on your machine.