html download a pdf 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 download link
<a href="the/name/of/your/file.x" download>
<a href="./directory/yourfile.pdf" download="newfilename">Download the pdf</a>
<a href="the/name/of/your/file.x" download>