download file on button click in html code example Example: how to download file html button <a href="file.doc">Download!</a>