yo bro,

you think you can help me—

i need help making a download button in html…-

so uhh, if you can, will you help? thank you :D

something like

<a href="/path/to/file/location download="true">Download</a>

should work. download="true" is required because if it’s not there, the browser might try to “run” the file (as in, say it’s a PDF the browser will view it, if the download attribute is there it will download it)

View all comments