0
How to make direct download link from own host?
I want to make download link for my files in my host
2 ответов
+ 2
<a href="/images/myw3schoolsimage.jpg" download>
<img src="/images/myw3schoolsimage.jpg" alt="W3Schools">
</a>
+ 1
As suggested by David set the 'download' attribute to your a links provinding download links: on click the linked ressource would not be opened by the browser but rather proposed to be save by user ;)