w3schools how to create a link to open a pdf file html code example Example: html link to download file <a href="the/name/of/your/file.x" download>