Tim
0
Q:

html relative path

   /   = Root directory
   .   = This location
   ..  = Up a directory
   ./  = Current directory
   ../ = Parent of current directory
   ../../ = Two directories backwards
6
<img src="c:\your file">
0
<!--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> 
0
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
0

Tags

Related

New to Communities?

Join the community