How to add download option in HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to add download option in HTML

8th Mar 2017, 6:33 AM
Sheikh Wahid
Sheikh Wahid - avatar
2 Answers
+ 12
<a href="linkToYouPhoto.png" download> just add the download attribute at the end you can even add a filename: download="filename" hope this helps
8th Mar 2017, 6:40 AM
Kamil
Kamil - avatar
+ 1
Nice
8th Mar 2017, 6:47 AM
Sheikh Wahid
Sheikh Wahid - avatar