如何表示上级目录
../表示源文件所在目录的上一级目录,../../表示源文件所在目录的上上级目录,以此类推。
假设info.html路径是:c:Inetpubwwwrootsitesblablainfo.html
假设index.html路径是:c:Inetpubwwwrootsitesindex.html
在info.html加入index.html超链接的代码应该这样写:
假设info.html路径是:c:Inetpubwwwrootsitesblablainfo.html
假设index.html路径是:c:Inetpubwwwrootindex.html
在info.html加入index.html超链接的代码应该这样写:
假设info.html路径是:c:Inetpubwwwrootsitesblablainfo.html
假设index.html路径是:c:Inetpubwwwrootsiteswowstoryindex.html
在info.html加入index.html超链接的代码应该这样写:
如何表示下级目录引用下级目录的文件,直接写下级目录文件的路径即可。假设info.html路径是:c:Inetpubwwwrootsitesblablainfo.html假设index.html路径是:c:Inetpubwwwrootsitesblablahtmlindex.html在info.html加入index.html超链接的代码应该这样写:index.html
假设info.html路径是:c:Inetpubwwwrootsitesblablainfo.html
假设index.html路径是:c:Inetpubwwwrootsitesblablahtmltutorialsindex.html
在info.html加入index.html超链接的代码应该这样写:
—-想了解HTML相对路径 上级目录及下级目录的写法分享 的全部内容且更多的html语言教程关注
本文来自网络收集,不代表猴子技术宅立场,如涉及侵权请点击右边联系管理员删除。
如若转载,请注明出处:https://www.ssfiction.com/htmljc/489687.html