asp.net.ph

Skip Navigation Links

DOWNLOAD Attribute | download Property

Language References


Indicates if the hyperlink is used for downloading a resource.

Syntax


Inline <element download = sFileName...>
Script object.download = sFileName ]

Possible Values


sFileName String specifying the name of the resource to download.

The property is read/write with no default value.

Remarks

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.

Example


Applies To

A, AREA, LINK

See Also

How HyperText Links Work



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note