+ 1
What is relative and absolute path ?can someone help me
2 Antworten
+ 6
Absolute path is used to point to a resource using a complete path specification, including protocol, domain, and optionally port.
Relative path is used to point to a resource using the current path as its base, its usage is more common to point to a resource that resides in the same domain. The relative path usually does not require as strict specification as it does the absolute path.
More about this you can read on the following link:
https://www.w3schools.com/html/html_filepaths.asp
Hth, cmiiw
0
Absolute paths would start out with your hard drive name and work there way to the file:
e.g. C:Documents/Files/Subfiles/file.fil
or if using a different system, like online:
http://www.Documents.com/Files/Subfiles/file.fil
Whereas the relative path would be in relation to the folder in which your document, script, or program is stored:
e.g. Subfiles/file.fil
or file.fil (if both are stored in the exact some file folder)