Link to home
Get AccessLog in
Avatar of shahzad198509
shahzad198509

asked on

download option in HTML?

How can I make  .mp3 file donwload link in html?

<a href="audio.mp3">Click here to Download</a>
when i click on the link, the mp3 file just play in browser.

 <a href="audio.zip">Click here to Download</a>
when i zip a file it begin to download.

But i dont want to zip a file, how can i download mp3 files without zipping them?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of mrichmon
mrichmon

Link to home
membership
This content is only available to members.
To access this content, you must be a member of Experts Exchange.
Get Access
Avatar of shahzad198509
shahzad198509

ASKER

can i control this with php scripting language?
Your first coding itself is enough to download mp3.

<a href="audio.mp3">Click here to Download</a>

i checked with IE and Firefox