Easy Tutorial
❮ Att Img Align Att Select Disabled ❯

HTML <area> download Attribute

HTML <area> Tag

Example

A picture with a clickable download area:


Browser Support

Currently, only Firefox and Chrome support the download attribute.


Definition and Usage

The download attribute specifies the download link address.

The download attribute should only be specified when the href attribute is used.

This attribute can also specify the name of the downloaded file. The file name is not restricted, and browsers will automatically append the appropriate file extension (.img, .pdf, .txt, .html, etc.) to the file name.


Differences Between HTML 4.01 and HTML5

The download attribute is new for the <area> tag in HTML5.


Syntax

Attribute Values

Value Description
filename Specifies the file name.

HTML <area> Tag

❮ Att Img Align Att Select Disabled ❯