To make the file appear as a link on the webpage, use the HTML anchor element a >… /a >. Set the download file as the href property. After configuring the url redirect, add the download attribute.