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 September 2019.
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 represent the proposed name of the file. If the name is not a valid filename of the underlying OS, browser will adjust it accordingly.
It reflects the download
attribute of the <area>
element.
Value
A string.
Specifications
Specification |
---|
HTML # dom-area-download |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
download |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.