Create a URL to open a PDF file at a specific page

HTML pages can contain links that open PDF files within a web browser by using an Adobe Acrobat plug-in installed into supported versions of Google Chrome or Microsoft Edge browser.

When you open a PDF file in a web browser, the first page of the PDF file will be shown by default. You can add a string to the HTML link so a PDF file opens and jumps to a specified page or set destination. To use either of these two methods, do the following:

Open a PDF file to a specific page

To target an HTML link to a specific page in a PDF file, add #page=[page number] to the end of the link URL.

For example, this HTML tag opens page 4 of a PDF file named myfile.pdf:

<A HREF="http://www.example.com/myfile.pdf#page=4">

Note: If you use UNC server locations (\\servername\folder) in a link, set the link to open to a set destination using the procedure in the following section. If you use URLs containing local hard drive addresses (c:\folder\), you cannot link to page numbers or set destinations. A link to a page number works only if you use HTTP or HTTPS locations. UNC server locations will only work if you use the set destinations method outlined in the following section of this document.

Open a PDF file to a set destination

A destination is the end point of a link represented by text in the Destinations tab. Destinations enable you to set navigation paths across a collection of Adobe PDF documents. Linking to a destination is recommended when linking across documents because, unlike a link to a page, a link to a destination is not affected by adding or deleting pages within the target document.

To set a destination in Acrobat:

  1. Set the Zoom and page location as you want it on the screen.

  2. Go to  > View > Navigation Tabs > Destinations to open the Destinations tab.

  3. Select Options > New Destination from the Destinations tab.

    Give the destination a name.

  4. Create an HTML link that points to this destination by adding #[destination name] to the end of the links URL.

    For example, this HTML tag opens a destination named "glossary" in a PDF file named myfile.pdf:

    <A HREF="http://www.example.com/myfile.pdf#glossary">

Gaukite pagalbą greičiau ir lengviau

Naujas vartotojas?