0

How do I create a download link using html 5

10th Aug 2020, 6:44 AM
Katamba Philip
Katamba Philip - avatar
2 Answers
+ 1
you may add the “download” attribute to an <a> tag to trigger a download instead of navigating to the file. example: <a href=“images/myImg.jpg” download>Download!</a>
10th Aug 2020, 6:47 AM
Brian R
Brian R - avatar
+ 1
<a href="file" download>Download link</a>
10th Aug 2020, 6:47 AM
Никита
Никита - avatar