How to represent the upper-level directory
../ represents the upper-level directory of the directory where the source file is located, ../../ represents the upper-level directory of the directory where the source file is located, and so on.
Assume the info.html path is: c:Inetpubwwwrootsitesblablainfo.html
Assume the index.html path is: c:Inetpubwwwrootsitesindex.html
The code to add the index.html hyperlink to info.html should be written like this:
index.html
Assume the info.html path is: c:Inetpubwwwrootsitesblablainfo.html
Assume the index.html path is: c:Inetpubwwwrootindex.html
Add index to info.html The code for the .html hyperlink should be written like this:
index.html
Assume the info.html path is: c:Inetpubwwwrootsitesblablainfo.html
Assume the index.html path is: c:Inetpubwwwrootsiteswowstoryindex .html
The code to add the index.html hyperlink to info.html should be written like this:
index.html
How to indicate that a lower-level directory refers to a file in a lower-level directory, write the lower-level directory directly The path to the file is sufficient. Assume the info.html path is: c:Inetpubwwwrootsitesblablainfo.html Assume the index.html path is: c:Inetpubwwwrootsitesblablahtmlindex.html The code to add the index.html hyperlink to info.html should be written like this: index.html
Assume the info.html path is: c:Inetpubwwwrootsitesblablainfo.html
Assume the index.html path is: c:Inetpubwwwrootsitesblablahtmltutorialsindex.html
The code to add the index.html hyperlink to info.html should be written like this:
index.html