Last updated on January 17, 2018
When you link to a file like an image or a PDF-document it will be displayed within the browser normally. The download-attribute in links prevents this behavior and offers the file as a download in your browser.
In html5 we can easily set up force download with an attribute called download, just check out the following markup. the download attribute allows you to set separate name to download with actual(same) link point extension
Html5 download
to know browser support visit: http://caniuse.com/#feat=download