A relative path is a link that points to a file location on the page where the link is located. Unlike an absolute path, a relative path does not include the domain name of the website. Instead, it contains just the directory and slug.