xxxxxxxxxx
/* Absolute Path */
https://www.w3schools.com/images/picture.jpg
/* Relative Path */
/images/picture.jpg
xxxxxxxxxx
The Absolute path tells us the path of the current file from the root directory.
The Relative path tells us the path of the current file related to the current directory
For example you have a project folder named cryptocurrencyApp. which contains an image named currency.png.
The relative path for img is gonna be /image/currency.png , and
Its absolute path is gonna be C:\<All your parent folders>/cryptocurrencyApp/image/currency.png
xxxxxxxxxx
An absolute path refers to the complete details needed to locate a file or folder, starting from the root element and ending with the other subdirectories. Absolute paths are used in websites and operating systems for locating files and folders.
An absolute path is also known as an absolute pathname or full path.
Example:
http://www.foo.com/images/kitten.png