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
<a href="link_to_download" download="set new name to download">Html5 download</a>
to know browser support visit: http://caniuse.com/#feat=download
I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.