img src relative path javascript code example
Example 1: path in html
/ = Root directory
. = This location
.. = Up a directory
./ = Current directory
../ = Parent of current directory
../../ = Two directories backwards
Example 2: html local image
<img src="c:\your file">