/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: download

[this page | pdf | back links]

The HTML download attribute indicates that the target resource will be downloaded when the user clicks on the hyperlink. It applies to <a>  and <area> elements.

 

Valid attribute values (when used with <a> and <area> elements) include:

 

Value

Description

filename

Resource to be downloaded

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile