How to Make a URL of a PDF File

Web programmers use URL when creating hyperIinks that connect to other pages and files. The URL (Uniform Resource Locator) tells your browser where it can find the file pointed to by the link. Most links on web pages point to other web pages or image files. But more and more websites contain links to PDF documents. Creating a URL for a PDF document is similar to creating URLs for other file types. In order to view the PDF document after clicking on the link, the user will have to have Adobe Reader installed on their computer.

...
URLs create links to specific files.

Step

Open the program you use to edit your web pages and go to the web page where you wish to insert the link to the PDF document.

Step

Insert the following HTML code: "Click here to view PDF file" (without the first and last quotation marks.) The words "Click here to view PDF file" will appear on your web page as a hyperlink and will be the words the user clicks on to go to the PDF document. You can replace them with other words of your choosing.

Step

Replace the word "URL" with the actual URL of the PDF document. If the PDF document is saved as "myfile.pdf" in the same folder as your web page, the URL will be "myfile.pdf". If the PDF document is saved in a subfolder called "Documents," the URL will be "Documents/myfile.pdf". If the PDF document is on another website in a folder called "Documents", the URL will be "http://www.mywebsite.com/Documents/myfile.pdf" (use the actual name of the website.)

Step

Save your changes. The final text of the new HTML code should look like this: "Click here to view PDF file" (without the first and last quotation marks.)

Step

Publish the HTML file with the new link to your website.