Last Updated: December 26, 2018
·
1.496K
· jackilyn

HTML5 download Attribute

Force a file to download rather than go to that specific page.

<a href="file.txt" download="File Name">Download</a>

5 Responses
Add your response

nice handy

over 1 year ago ·

Great find, thanks a lot!

over 1 year ago ·

Browser support for this is only Chrome so far?

over 1 year ago ·

While... I'd prefer to preview the document first in Chrome...

over 1 year ago ·