Michael Scharnagl 1/13/2015

The download attribute

Read Original

This technical article details the HTML download attribute, which instructs browsers to trigger a 'Save as' dialog instead of opening a file. It covers syntax, practical use cases (e.g., PDFs, images, logos), browser support as of 2015, and a best practice recommendation to display file size server-side using PHP or Node.js examples.

The download attribute

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser