The Most Secure Cross Browser Testing Platform since 2012


Cross Browser Download attribute

BLOG / Web Development

Cross Browser Download attribute

When used on an anchor, this attribute signifies that the browser should download the resource the anchor points to rather than navigate to it.

Browser Support

This feature is already supported by a few major browsers including Chrome, Firefox, Microsoft Edge and Opera.

Code Example

You can use Download attribute like this:

<a href="someresource.dat" download="someresource.dat">Download</a>

More Information

More information can be found here.