• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. PDF Files and the Web > Linking a Web Page to a PDF

Linking a Web Page to a PDF

Although you can't actually embed a PDF file in a Web page the way you do a graphic file, you can set a link that readers can click on to display the document.

To link to a PDF:

1.
Working in your HTML document, choose a spot for the link.

2.
In your HTML editor, type the following line:

<A HREF="pdfs/MyPage.pdf">Click here to read my PDF</A> pdfs should refer to the folder containing your Acrobat documents, which must reside in the same folder as your HTML file. MyPage.pdf should be the name of your document. Click here to read my PDF is the text of the link itself.

3.
Save the HTML document.

4.
Open the document in a Web browser (Figure 15.17).

Figure 15.17. Click the new link in your Web browser to display the PDF in the browser.


5.
Click the link.

The PDFViewer plug-in loads and displays the PDF in your browser.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint