How to represent the previous directory
../ represents the previous directory of the directory where the source file is located, ../../ represents the previous directory where the source file is located, and so on.
Assume that the info.html path is: c:/Inetpub/wwwroot/sites/blabla/info.html
Assume that the index.html path is: c:/Inetpub/wwwroot/sites/index.html
The code to add index.html hyperlink to info.html should be written like this:
<a href = ../index.html>index.html</a>
Assume that the info.html path is: c:/Inetpub/wwwroot/sites/blabla/info.html
Assume that the index.html path is: c:/Inetpub/wwwroot/index.html
The code to add index.html hyperlink to info.html should be written like this:
<a href=../../../index.html>index.html</a>
Assume that the info.html path is: c:/Inetpub/wwwroot/sites/blabla/info.html
Assume that the index.html path is: c:/Inetpub/wwwroot/sites/wowstory/index.html
The code to add index.html hyperlink to info.html should be written like this:
<a href = ../wowstory/index.html>index.html</a>
How to indicate that the files of the lower directory refer to the lower directory, and just write the path of the lower directory file. Assume that the info.html path is: c:/Inetpub/wwwroot/sites/blabla/info.html Assume that the index.html path is: c:/Inetpub/wwwroot/sites/blabla/html/index.html The code to add the index.html hyperlink in info.html should be written like this: <a href = html/index.html>index.html</a>
Assume that the info.html path is: c:/Inetpub/wwwroot/sites/blabla/info.html
Assume that the index.html path is: c:/Inetpub/wwwroot/sites/blabla/html/tutorials/index.html
The code to add index.html hyperlink to info.html should be written like this:
<a href = html/tutorials/index.html>index.html</a>