Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Add question

You must login to ask question.

Login

Register Now

Register now and start to ask your questions or share your knowledge with your community and friends with answering their questions. Earn points for trustability.

HTML: Download file when clicking on the link instead of navigating to the file

Download file when clicking on the link instead of navigating to the file.

HTML Attribute: download

<a href=”/file/example1.pdf” download>
<img src=”/images/example2.jpg alt=”” width=”110″ height=”30″>
</a>

Note: The download attribute is not supported in Edge version 12, IE, Safari 10 (and earlier), or Opera version 12 (and earlier).

 

Ref.: HTML Attributes

About Floridify TeamProfessional Badge


Follow Me