HTML <a> download Attribute (original) (raw)
Last Updated : 23 May, 2024
**Syntax
**Attribute Values
- **filename: It contains single value filename which is optional. It specifies the new filename for the downloaded file.
**Example: This example demonstrates the use of HTML download attribute.
html `
HTML a download AttributeGeeksforGeeks
<h2>HTML a download Attribute</h2>
<p><a href="button.png" download>
Click Here to Download Image
</a></p>
`
**Output

**Supported Browsers
- Google Chrome 14
- Edge 18
- Firefox 20
- Safari 10.1
- Opera 15