Interactive online courses HTML Academy
2026-03-09 10:47 Diff

Relative addresses are great if you are creating a website on your computer or the navigation for the pages on your own website. But if you need to create a link to another website on the Internet, then you need to use a “regular” address.

This “normal” or full address is called the absolute address. It looks like the following, for example:

https://site.com/blog/index.html

Absolute addresses consist of at least three parts: the protocol, server name, and path.

https: — Protocol //site.com — Server name /blog/index.html — Path

If the address does not contain a server name or protocol, then this is a relative address:

https://site.com/blog/index.html - Absolute address //site.com/blog/index.html - Relative address /blog/index.html - Relative address index.html - Relative address

The text of the main page does not contain even one useful link, such as a link to web layout courses. This is where an absolute address is useful.