Language References
Indicates if the hyperlink is used for downloading a resource.
Inline |
<element download = sFileName...> |
Script |
object.download = sFileName ] |
sFileName |
String specifying the name of the resource to download. |
The property is read/write with no default value.
The download attribute, if present, indicates that the author intends the hyperlink to be used for downloading a resource.
The attribute may have a value; the value, if any, specifies the default filename that the author recommends for use in labeling the resource in a local file system.
There are no restrictions on allowed values, but authors are cautioned that most file systems have limitations with regard to what punctuation is supported in filenames, and user agents are likely to adjust filenames accordingly.
A, AREA, LINK
How HyperText Links Work