25 Hyperlink Material

Last update: August 30th, 2024

There are three types of links that are typically used in Pressbooks:

  1. Internal links, used to facilitate navigation in a book.
  2. Links to images, files, or other types of media uploaded to Pressbooks. (See Images and Files.)
  3. External links to a webpage or file located outside of the book.

Internal Links

Internal links are used to improve navigation within a book. For example, you can insert a link to a specific chapter or use anchors to link to a specific section in a chapter. These links will work in all digital formats, including the webbook, Digital PDF, and EPUB files.

To insert an internal link:

  1. Put your cursor where you want the link to be inserted.
  2. Click the link icon from the first row of the visual editor.
  3. In the textbox that pops up, search for the name of the chapter you would like to link to.
  4. Click the blue arrow that’s labelled “Apply.”
  5. The internal link will be inserted with the chapter name as the link text.

Use anchors to link to a specific section

Anchors allow you to link to a specific section of a book. For example, a table, heading, or image.

To set up an anchor:

  1. Put your cursor where you want the anchor to be inserted. This is where you want the link to take someone. For example, if you want to link to a specific table, you would put the anchor immediately before the table.
  2. Click the anchor icon from the third row of the visual editor. It looks like a ribbon.
  3. Create a unique name for the anchor. Note that you can only use this anchor once in your book and it is case sensitive.
  4. Click “Okay.”

Now you can set up the internal link to this anchor. Follow the steps for setting up an internal link described above. However, instead of searching for the chapter, search for the unique name your created for the anchor.

Links to Files

For information about how to link to different files, see Images and Files.

External Links

To link to an external website or file:

  1. Type what the link text for the link should be. This should be the name of the page or file the link will take someone to.
    1. If linking to a file, include the file type in the link text (e.g., Review Template [PDF])
  2. Select the link text and click the link icon in the first row of the visual editor.
  3. Copy and paste in the URL for the webpage or file you want to link to.
  4. Click the blue arrow that’s labelled “Apply.”

Provide URLs to students accessing a print copy

Not all students may be accessing a book via a digital copy. For those using a print copy, you will want to give them the full URL so they can find the website. For instructions on how to easily do this in Pressbooks, see the section on “Provide web address in print copies” in the Links chapter of the Accessibility Toolkit.

Attributions

License

Icon for the Creative Commons Attribution 4.0 International License

Wheaton College OpenPress Guide Copyright © Original Copyright Years 2016-2022 by Jenny Castel is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book