How to Link to an MP3 File on Your Website

How to Link to an MP3 File on Your Website thumbnail
Use HTML to link an MP3 file to your website.

An MP3, developed by the Moving Pictures Experts Group, is a digital audio file commonly used to play sounds like audio books and music. This format is ideal for distribution on a Web page because the MP3 format has the capability to compress the file size more than most other sound files without sacrificing the quality of the output. Use hypertext markup language, or HTML, to link the MP3 file on your computer to the website page of your choice.

Instructions

    • 1

      Log into your Web host account where you manage your website files. Click the "Control Panel" option, navigate to the Public_HTML or Public_WWW directory and click the "Browse," "Open" or "Upload" button to select the MP3 file from your computer and add it to your host. Record the Web location of your MP3 file so that you have the ability to properly link to it later (for example, "http://www.yoursite.com/audio.mp3").

    • 2

      Launch your computer's text editor software. Click the "File" menu, select the "Open" or "Open File" option and select the Web page document on which you want to work.

    • 3

      Enter "<a href=" ">" and type in the MP3 location address inside the quotation marks. For example, <a href="http://www.yoursite.com/audio.mp3">.

    • 4

      Type an identifying title, such as the name of the song, after the code. To illustrate, <a href="http://www.yoursite.com/audio.mp3">Name of Song.

      This entry is the text that a visitor clicks to hear the MP3.

    • 5

      Enter an ending </a> tag at the end of the title to finish linking your file. The complete entry now looks as follows:

      <a href="http://www.yoursite.com/audio.mp3">Name of Song</a>

      When a listener clicks the link, a new page automatically opens and begins playing the audio.

    • 6

      Save your document.

Tips & Warnings

  • If you do not have a Web host account as mentioned in Step 1, bring up a file hosting website like MediaFire or File Dropper (see Resources). Click the "Upload" button and follow the on-screen instructions to select your MP3 and add it to the hosting server. The file's URL address automatically appears after the upload process finishes.

Related Searches:

References

Resources

  • Photo Credit mp3 hand image by giovanni cardinali from Fotolia.com

Comments

You May Also Like

Related Ads

Featured