An absolute URL is a URL that is complete in its structure.
It has a domain, TLD, and a path and leads to a page when accessed through the browser.
Use Cases and Examples
Here are some examples of what an absolute URL looks like:
- https://www.w3schools.com/html/default.asp [↗]
- https://www.wikiwand.com/en/"Hello,_World!"_program [↗]
The only option you have when it comes to pointing to content on another site is to use an absolute URL.
Here are some examples of nonabsolute URLs:
Comparing the absolute and nonabsolute URLs, you will notice the absolute URLs include a domain name and sub paths leading to a different page outside of this blog.
Check out this post to learn about Relative URLs [→]
Here is another article you might like 😊 "What Is An Abstract Syntax Tree?"