Monday, 21 September 2015

HTML5 download Attribute

Download file when clicking on the link in HTML5. A download attribute is used to specifies the download when user clicks the link.




HTML5 Code

<a href="images/Download-Button.png" download>
          <img border="0" src="images/Download-Button.png" alt="WebLessons"/>
        </a>
Note: The download attribute is not supported in IE, Safari or Opera version 12 (and earlier). Please share your comments and feedback.Thanks.Please subscribe my updates via email.

No comments:

Post a Comment