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