0

How to add a download button to our html page

13th May 2020, 10:47 AM
Shiraz Muhammed
Shiraz Muhammed - avatar
4 odpowiedzi
+ 2
You can use download load attribute in a tag. For ex. <a href="https://www.w3schools.com download > your content goes here </a>
13th May 2020, 10:54 AM
Ayush Kumar
Ayush Kumar - avatar
+ 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.... 😁😉
13th May 2020, 10:55 AM
Abhijeet Thorat
Abhijeet Thorat - avatar
+ 1
<form> <a href="download link.html" ><input type="button" value="download"></a> </form>
13th May 2020, 1:50 PM
Abhinav Landge
Abhinav Landge - avatar
- 2
<button>Download</button>
13th May 2020, 10:48 AM
Mustafha Ahmad
Mustafha Ahmad - avatar