HTML download Attribute
HTML download Attribute
The download attribute specifies that the target will be downloaded when a user clicks on the hyperlink. It is only usable if href element is already present there. Its value will be the new name of the downloaded file. If no value then the original filename is used.
Used With:-
Elements | Attribute |
---|---|
a | download |
area | download |
Syntax:-
Its syntax is:- < element download >