+ 1

How to make download file link?

2nd Jan 2016, 12:47 PM
Jai Ganesh
Jai Ganesh - avatar
2 Answers
+ 2
Sorry Nedim, but that is incorrect. Rather than downloading the file, it will open it in the browser. In order to make a download link, you must use the download attribute, like so: <a href="hi.txt" download> Download File </a>
4th Jun 2016, 11:01 AM
Gabe Rust
Gabe Rust - avatar
- 1
<a href="filetarget/filename.abc">Click here to download</a>
7th Jan 2016, 9:52 PM
Nedim Akca
Nedim Akca - avatar