0
What do absolute path and relative path mean?
Can any one explain it for me? Thanks so much
1 Antwort
+ 2
absolute path means the location of a file or folder relative from your system's root folder.
relative path means the location relative to your file in which you reference the other file.
Example for Ubuntu Linux as OS:
Your current file is in /home/user/code/index.html
You want to reference style.css in the same folder.
Absolute path would be /home/user/code/style.css
Relative path would be ./style.css or just style.css