Upcoming Webinar: Jump Start Your Automated Testing Efforts With Record & Play Save Your Seat

Blog We love to talk!

Nov Mon

Cross Browser Download attribute

  •  11-9-2015

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.

No Comments

Leave a Reply

Your email address will not be published.