HTML5 Force Download
July 9, 2018
HTML5 Force Download, Mostly we want to download any image file and pdf from server Or When you link to a file like an image , PDF-document it will be displayed within the browser normally. The download-attribute in links prevents this behaviour and offers the file as a download in your browser.
HTML5 Force Download In html5 we can easily set up force download with an attribute called download, just put out the following markup. the download attribute allows you to set separate name to download with actual(same) link point extension
This is the example where on click webtechsource the login image download automatically
<a href="put_link_here" download="image_name_here">webtechsource</a>
I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face Any – we are here to solve your problems.