Relative URL
Simply put, relative URLs are condensed versions of absolute URLs. Instead of showing the full web address, they only contain the location following the domain.[1] An example of a relative URL is: <a href="/file.html">
. To make it easier for you, remember that relative URLs never contain the https://www part. Also, they are the preferred choice of web developers as relative URLs are less time-consuming to compose.
Pages with relative URLs have a slightly better loading time than those using absolute URL paths.