Enhance Content

28 Hyperlink Material

When working in Pressbooks, there are different types of links that you may be working with:

  1. Internal links that are used to facilitate navigation in a book.
  2. Links to images, files, or other types of media that you have uploaded to Pressbooks. (See Images and Files.)
  3. External links to a website or other online source outside of the book.

IMPORTANT: The unique ID used for an anchor is case sensitive.

Internal links

Linking material within a chapter or between chapters in a book is slightly different for the BCcampus Pressbooks instance because in addition to chapter and part titles, the title of the book must also be included in the link used. Below are the instructions for those using the BCcampus Pressbooks instance.

When creating a document, there are already some identifiers that Pressbooks will understand. For example, if you want to link to a chapter, you simply need to enter:

[your-book-title-here]/chapter/[your-chapter-title-here]

To link to a part, enter:

[your-book-title-here]//part/[your-part-title-here]

To link to a front matter section, enter:

[your-book-title-here]/front-matter/[your-section-title-here]

To link to a back matter section, enter:

[your-book-title-here]/back-matter/[your-section-title-here]

The easiest way to find this location identifier is to look at the URL of a page in the web version of your book, if the chapter has been published, and copy everything that comes after .ca (including the forward slash).

""

In this example, “sample” is book title and “navigation” is the chapter title.

If the chapter is still in draft, just look at the permalink below the chapter title and copy everything that comes after .ca (including the forward slash).

""

"" For more information, see the following chapters in the Pressbooks Userguide:

Attributions

The text used for the “Internal links” portion of this chapter were adapted from  the Adding Hyperlinks, Internal and External chapter of the Pressbooks Userguide.

License

Icon for the Creative Commons Attribution 4.0 International License

Hyperlink Material by Lauri M. Aesoph is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book