+ 1

What is the difference between Absolute and Relative Path?

*Absolute* '' describes something as being independent, while the word '' *relative* '' refers to something being dependent. ✅ ABSOLUTE PATH: 👉It shows the full location of the file starting from the root directory .. 👉LIKE your image file is in assets in main_project 📁 in hdocs 📁 in Xammp folder 📁 👉Then absolute PATH will be C:\xammp\hdocs\project\assets\images\imag.png As it's starting from root directory ✅ RELATIVE PATH: 👉It shows the file location where currently the file is placed .start from current working directory. 👉Like your files is in xammp 📁 >> hdocs📁 >> project 📁 >> assets📁 >> images 📁 👉Then the relative path will be :project\assets\images\image.png As the Parent Directory is Project

22nd Oct 2024, 3:07 AM
Hajra Khattak
Hajra Khattak - avatar
1 Antwort
+ 3
It looks like you're trying to write a question but don't quite have a question... well, you've answered it yourself. This would be better in the feed under the community tab. Can you read these and remove your post: https://www.sololearn.com/discuss/3021159/?ref=app https://sololearn.com/compiler-playground/Wek0V1MyIR2r/?ref=app https://sololearn.com/compiler-playground/W3uiji9X28C1/?ref=app https://sololearn.com/compiler-playground/W0uW3Wks8UBk/?ref=app
22nd Oct 2024, 6:23 AM
Ausgrindtube
Ausgrindtube - avatar