0
How to add a download button to our html page
4 Answers
+ 2
You can use download load attribute in a tag. For ex.
<a href="https://www.w3schools.com download > your content goes here </a>
+ 2
You can use in HTML5 download attribute to add download link for your file
<a href="path_of_file" download="file_name">Download</a>
Path_of_file is the path where the file is saved in your server or hosting
File_name is the name that would be displayed if is blank the browser default name would be given to it
Works fine with latest browsers....
đđ
+ 1
<form>
<a href="download link.html" ><input type="button" value="download"></a>
</form>
- 2
<button>Download</button>