To trigger a file download on a button click we will use a custom function or HTML 5 download both the HTML and downloadable file needs to be present. Oct 30, 2016 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 you can try like below. Hide Copy Code. Download my Guitar book .