Why is this not an absolute path?

Hi,

Why is this not an absolute path? (From this lesson.)

I understand that it doesn’t directly link to the file, but rather the home folder - that however still loads the index file?

According to both my understanding of the course and W3schools, relative paths begin with a slash (see HTML File Paths ). But then it states in the answer that “An absolute path starts with a slash.”

What am I missing here?

That is a domain. An absolute path points at a file.

The answer you’ve selected is a domain. A domain is any URL outside your repository, while a path points to a file inside your repository. Absolute paths start from the root i.e using a folder name or / , and relative paths start from your current location using ./ or ../.

3 Likes