标签: javascript html directory shared-directory
我有一个网页(index.hmtl),其中包含指向page文件夹中的网页的链接。如何从page文件夹中的网页链接回主页?
index.hmtl
page
文件树:
/www index.html /pages pageA.html pageB.hmtl
感谢。
答案 0 :(得分:4)
您可以使用../访问相对父文件夹。
../