HTMLAreaElement: download property
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2017.
The download property of the HTMLAreaElement interface is a string indicating that the linked resource is intended to be downloaded rather than displayed in the browser. The value, if any, represents the proposed name of the file. It reflects the download attribute of the <area> element.
See the HTML <a> element reference for details about the attribute.
Value
A string.
Specifications
| Specification |
|---|
| HTML> # dom-area-download> |
Browser compatibility
See also
- HTML
downloadattribute