answersLogoWhite

0

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.

User Avatar

Wiki User

16y ago

Still curious? Ask our experts.

Chat with our AI personalities

SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve
LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
BeauBeau
You're doing better than you think!
Chat with Beau
More answers

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

User Avatar

Wiki User

10y ago
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between relative path and absolute path?
Write your answer...
Submit
Still have questions?
magnify glass
imp