이전 디렉토리를 나타내는 방법
../ 소스 파일이있는 디렉토리의 이전 디렉토리를 나타내고, ../../ 소스 파일이있는 이전 디렉토리 등을 나타냅니다.
info.html 경로가 : c : /inetpub/wwwroot/sites/blabla/info.html이라고 가정하십시오
index.html 경로가 : c : /inetpub/wwwroot/sites/index.html이라고 가정하십시오
index.html 하이퍼 링크를 info.html에 추가하는 코드는 다음과 같이 작성해야합니다.
<a href = ../index.html> index.html </a>
info.html 경로가 : c : /inetpub/wwwroot/sites/blabla/info.html이라고 가정하십시오
index.html 경로가 : c : /inetpub/wwwroot/index.html이라고 가정하십시오
index.html 하이퍼 링크를 info.html에 추가하는 코드는 다음과 같이 작성해야합니다.
<a href = ../../../index.html> index.html </a>
info.html 경로가 : c : /inetpub/wwwroot/sites/blabla/info.html이라고 가정하십시오
index.html 경로가 : c : /inetpub/wwwroot/sites/wowstory/index.html이라고 가정하십시오
index.html 하이퍼 링크를 info.html에 추가하는 코드는 다음과 같이 작성해야합니다.
<a href = ../wowstory/index.html> index.html </a>
하위 디렉토리의 파일이 하단 디렉토리를 참조하고 하부 디렉토리 파일의 경로를 작성하는 방법을 나타내는 방법. info.html 경로는 다음과 같이 가정합니다. href = html/index.html> index.html </a>
info.html 경로가 : c : /inetpub/wwwroot/sites/blabla/info.html이라고 가정하십시오
index.html 경로가 다음과 같이 가정하십시오
index.html 하이퍼 링크를 info.html에 추가하는 코드는 다음과 같이 작성해야합니다.
<a href = html/tutorials/index.html> index.html </a>