It's the download attribute and it promises to replace PHP-driven file download scripts with a completely HTML-based paradigm. In today's article, we'll be looking at how to use this exciting new markup element. One Attribute, Two Functions. One use of the download attribute is to set a different file download name than the actual link target How to Create a Direct (Single Click) Download Button in Divi Using the Download Attribute Posted on April 27, 2017 by Jason Champagne in Divi Resources | 18 comments A direct download link is a link that starts to download the file on click instead of linking to it in your browser window. If you click the save button, your code will be saved, and you get an URL you can share with others. Save Cancel. Save file as: Save file × Open from Google Drive < p > Click on the w3schools logo to download the image: < p > Hello Friends in this video i am showing you how to create Download Button on html and how it work to download a file on click on download button. If you like the video don't forget to like The value of the attribute will be the name of the downloaded file. There are no restrictions on allowed values, and the browser will automatically detect the correct file extension and add it to the file (.img, .pdf, .txt, .html, etc.). If the value is omitted, the original filename is used.