Check out example codes for "html relative path". It will help you in understanding the concepts better.
Code Example 1
<img src="c:\your file">
Code Example 2
/ = Root directory
. = This location
.. = Up a directory
./ = Current directory
../ = Parent of current directory
../../ = Two directories backwards
Code Example 3
A relative file path points to a file relative to the current page.
In this example, the file path points to a file in the images folder located at the root of the current web:
Example:
/images/picture.jpg
In this example, the file path points to a file in the images folder located in the current folder:
Example:
images/picture.jpg
In this example, the file path points to a file in the images folder located in the folder one level above the current folder:
Example:
../images/picture.jpg
Code Example 4
<!--The ./ means the contact.html file is in the same file
as the file that is linked to it-->
<a href="./contact.html">Contact</a>
Learn ReactJs, React Native from akashmittal.com