ok, i am going to try to explain this as simple as i can possibly can, i know this was hard for me to grasp at the beginning, but i am going to try to teach you what is the difrences Between Absolute Path and Relative Path.
When you create hyperlinks in a web document, you have two options. You can define an absolute or relative path to the target object. While there is only one way make an absolute link path, there are two options when using relative paths. First, and most often used, is a document relative path, and second is a root relative path.
Absolute Paths
example: http://www.webune.com
An absolute path is the FULL URL of the path for the document you are creating the hyperlink.
Relative Paths
example: ../common/shared/picture.jpg
A relative path is when you create a hyperlink to the document relative to the absolute path you are currently in.
lets say for example, you are creating a hyperlink to in a file called links.html (http://www.webune.com/common/links.html) in the common directory, the link will be pointing to the site root (http://www.webune.com/), this is how you would create a relative hyper link in the links.html file:
<a href="../index.php">link</a>
https://www.wallpaperama.com/forums/what-is-the-difrences-between-absolute-path-and-document-relative-path-t767.html