假设info.html路径是:c:\Inetpub\wwwroot\sites\blabla\info.html 假设index.html路径是:c:\Inetpub\wwwroot\sites\index.html 在info.html加入index.html超链接的代码应该这样写: index.html 假设info.html路径是:c:\Inetpub\wwwroot\sites\blabla\info.html 假设index.html路径是:c:\Inetpub\wwwroot\index.html 在info.html加入index.html超链接的代码应该这样写: index.html 假设info.html路径是:c:\Inetpub\wwwroot\sites\blabla\info.html 假设index.html路径是:c:\Inetpub\wwwroot\sites\wowstory\index.html 在info.html加入index.html超链接的代码应该这样写: index.html下级目录引用下级目录的文件,直接写下级目录文件的路径即可。 假设info.html路径是:c:\Inetpub\wwwroot\sites\blabla\info.html 假设index.html路径是:c:\Inetpub\wwwroot\sites\blabla\html\index.html 在info.html加入index.html超链接的代码应该这样写: index.html 假设info.html路径是:c:\Inetpub\wwwroot\sites\blabla\info.html 假设index.html路径是:c:\Inetpub\wwwroot\sites\blabla\html\tutorials\index.html 在info.html加入index.html超链接的代码应该这样写:
把要的绝对路径的文件和你的网页文件放到同一个文件夹里,再加到网页里就变成相对路径了