link ot download a pdf html code example
Example 1: how do i set a pdf to be download link in html
<a href="./directory/yourfile.pdf" download="newfilename">Download the pdf</a>
Example 2: html link to download file
<a href="the/name/of/your/file.x" download>