0

How do I create a download link?

I would like to learn how to create a download link using html 5

23rd Sep 2019, 2:31 AM
Philip Katamba
Philip Katamba - avatar
4 odpowiedzi
+ 2
<a href="some_file.png" download>Click</a>
23rd Sep 2019, 3:02 AM
Dlite
Dlite - avatar
+ 1
<a href="/media/video.mp4">Download Video</a> "/media/video.mp4" is the rute or folder and the name of file to download. "Download Video" is the text to show, for that the users will push it to download.
23rd Sep 2019, 3:05 AM
Sebastián Morales
Sebastián Morales - avatar
0
I tried using that but it failed
24th Sep 2019, 2:44 AM
Philip Katamba
Philip Katamba - avatar
0
Can you put her your link code? If your page is in a server free (Google, Dropbox,etc), is need put the url from server, not from your pc. Example: <a href="dropbox.com/video.mp4"> I did not the code of lite, where the word "download" is inside from <a>.
24th Sep 2019, 4:49 PM
Sebastián Morales
Sebastián Morales - avatar