Download button in HTML on click code example Example: download on button click <a href="path_to_file" download="proposed_file_name">Download</a>