HTML <a> download Attribute

❮ HTML <a> tag

Example

<a href="img-boy.jpg" download>

Meaning

The download the link instead of navigating it.

Tips and Notes:


Standard Syntax

<a download="fileName">



Browser Support




Status







Attribute Values

Value Description
download (optional)fileName Can be used with or without a value
❮ HTML <a> tag