Absolute path contains full name of file including the source, for instance, c:\Windows\Temp\log.txt. Relative path contains only the path relativaly to a certain folder, for instance, relative path of log.txt relativaly to the folder Windows is Temp\log.txt.
Chat with our AI personalities
Absolute paths are referring to a specific location. This is to increase page load speed. You can't achieve this effect using relative URLs. For instance, domain name or URL. Relative paths change depending upon the page the links. Using relative paths is easier while working offline and then uploading the website. Link may be filename (same directory), sub-directories