在简单的html超链接中重定向主页 [英] Redirect home page in simple html hyperlink

查看:539
本文介绍了在简单的html超链接中重定向主页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这是一个非常有趣的问题.
但是即使使用google,我也无法执行此操作.

我正在用简单的html开发一个Web项目.
网站名称为xyz,例如包含index.html页面.
在xyz文件夹下,我创建了一个包含index.html的abc文件夹.

我可以从xyz到abc.
通过如何从abc访问xyz \ index.html.

从子目录返回父目录?

I know its very funny question.
But I am not able to do this even after using google.

I am developing a web project in simple html.
Site name is xyz for example contains index.html page.
under xyz folder I have created a abc folder contains index.html.

I can went to abc from xyz.
by how to access the xyz\index.html from abc.

go back to parent directory from sub directory?

推荐答案

要转到父目录中的index.html,请重定向到../index.html
To go to index.html in the parent directory, redirect to ../index.html


这篇关于在简单的html超链接中重定向主页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆