w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it

area download attribute

The download attribute on the area element:

Warning: download attribute can be used only if href attribute is present on area element.


<areaattribute="value(s)" >Examples
3.download=string<area href="x.php" alt="x" download="x.php">

Video demonstration area download attribute

HTML5 area download attribute Tutorial

min video details
00:00 video tutorial: download attribute on area element
00:09 download attribute allows you to specify that the linked resource is to be downloaded instead of rendered in browser's window
00:15 1. download attribute absent
→ the linked resource: css.php is rendered in browser's window
00:27 2. adding the download attribute
→ the linked resource css.php can be downloaded
00:44 downloading the resource
area intro area browser display area parents area coordinates for shapes area syntaxarea href alt attributesarea coords attributearea hreflang attributearea rel attributearea shape attributearea target attributearea type attribute