maushu 4787 days ago. link 2 points ▲ ▼The download attribute can be used to set the filename of the downloaded file: http://html5-demos.appspot.com/static/a.download.html Only works on Chrome and Firefox though.