--- title: "Comparing Absolute and Relative Links" slug: "comparing-absolute-and-relative-links" description: "Learn the difference between absolute and relative links in web development, including examples of how to use each type for effective hyperlinking." updated: 2026-04-29T16:59:13Z published: 2026-04-29T16:59:13Z canonical: "www.civicplus.help/comparing-absolute-and-relative-links" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://www.civicplus.help/llms.txt > Use this file to discover all available pages before exploring further. # Comparing Absolute and Relative Links Two types of links can be used when you create hyperlinks online: **Absolute** and **Relative**. ## Absolute Links **Absolute Links** contain the entire URL seen in the URL bar. For example: - http://www.mysite.com - http://www.mysite.com/page/Name - http://www.mysite.com/module/item --- ## Relative Links **Relative Links** contain only the portion after the domain name. Relative links are only operational if the destination of the link is the same domain as the link it’s on. For example: - /Admin - /page/Name - /module/item Uniform Resource Locator