How to Insert a PDF Form Into a Web Page as a Link
The process to insert a PDF form into a web page as a link is simple.
The first step towards inserting a PDF Form into a web page is to store the PDF form as a file in a location accessible by the Internet. Options include
- Storing the PDF file on the web server through File Transfer Protocol (FTP). This requires access to the file hosting account with the web hosting server that hosts the website.
- Uploading the PDF file to any free file hosting service such as box.net, filefactory.com or others
The next step is modification of the HTML code of the web page by placing the following HTML code where the link needs to appear.
xyz.pdf represents the file name of the PDF file stored on the web server, and TITLE refers to the description or the anchor text.
The <p> and </p> denote a paragraph break, and is not required when the link appears in a running sentence.
To insert a PDF form into a web page as a link embedded on to an image, the HTML code needs modification as follows:
<img border="0" src="zzz.gif" alt="TEXT" width="32" height="32" />
zzz.gif refers to the image file that needs to be stored in the web server along with the PDF file.
If the files xyz.pdf and zzz.gif are not stored in the same location of the HTML code, then the full URL of the xyz.pdf and zzz.gif needs mention.
The display of the downloaded PDF file depends on the Internet browser. Creating a savable PDF file entails enabling the right click “Save As" option that allows the user to save the PDF file directly on to the computer and view the form through Adobe Acrobat Reader.