Inquirer Posted June 18, 2020 Report Share Posted June 18, 2020 (edited) How do I make a download work? <a href="" download> What do I put into the href attribute? In the w3schools example, they use: <a href="/images/myW3Schoolslogo.jpg" download> Though how do I find the href attribute of a file? Say I was trying to make a download button for a word file. How do I do that? Thanks for helping a newbie! Edited June 18, 2020 by Inquirer Specifying my goals Link to comment Share on other sites More sharing options...
Ingolme Posted June 18, 2020 Report Share Posted June 18, 2020 You need to upload the file to your web server. The contents of the href attribute will depends on where in the web server the file is placed. 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