Web platform features explorer

download

The download attribute for <a> elements loads the target URL as a file to be saved, instead of navigating to it. An optional attribute value sets a default file name.

Status

Baseline Widely Available (since 2022-03-19)

Specifications

Browser support (view on caniuse.com)

  • Chrome 14 Released on 2011-09-16
  • Chrome Android 18 Released on 2012-06-27
  • Edge 18 Released on 2018-10-02
  • Firefox 20 Released on 2013-04-02
  • Firefox for Android 20 Released on 2013-04-02
  • Safari 10.1 Released on 2017-03-27
  • Safari on iOS 13 Released on 2019-09-19