jamesadrian Posted September 8, 2019 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 Link to comment Share on other sites More sharing options...
dsonesuk Posted September 9, 2019 Share Posted September 9, 2019 https://www.w3schools.com/tags/att_a_download.asp Link to comment Share on other sites More sharing options...
jamesadrian Posted September 10, 2019 Author 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 Link to comment Share on other sites More sharing options...
Ingolme Posted September 10, 2019 Share Posted September 10, 2019 You forgot a closing quote for the href attribute. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now