jamesadrian 0 Posted September 8, 2019 Report Share Posted September 8, 2019 My website is here: https://futurebeacon.com On that front page source I have a code that looks like this: <a href="https://www.futurebeacon.com/00Music/JA2.mp3" class = link_style1>More Music by James Adrian</a> It sends the website visitor to this location: https://www.futurebeacon.com/00Music/JA2.mp3 The music in the file JA2.mp3 immediately begins playing. This is what I want it to do. I am trying to also allow the visitor to download the file from the page that plays the music and I have been searchings for instructions to do that in such a way that the file does not play music but downloads the file. All the instructions I have read would have me use the same code that I am currently using to play the music. I can't see a difference. Please tell me what I am missing. Thank you for your help. Jim Adrian Quote Link to post Share on other sites
dsonesuk 929 Posted September 9, 2019 Report Share Posted September 9, 2019 https://www.w3schools.com/tags/att_a_download.asp Quote Link to post Share on other sites
jamesadrian 0 Posted September 10, 2019 Author Report Share Posted September 10, 2019 dsonesuk, Thank you for this link. I am using html 5 and my browser is Safari 11.1.2 which is higher than 10. The source code I am using is this: <a href="https://www.futurebeacon.com/00Music/JA2.mp3 download>Download Music <img src="https://www.futurebeacon.com/00Music/JA2.mp3"></a> It is on my front page. I does not work and "Download Music" does not get rendered for the visitor. Can you help me find out what is going wrong? Thank you for your help. Jim Adrian Quote Link to post Share on other sites
Ingolme 1,035 Posted September 10, 2019 Report Share Posted September 10, 2019 You forgot a closing quote for the href attribute. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.