在html中选择一个父目录 [英] Selecting a parent directory in html
本文介绍了在html中选择一个父目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个一般的问题(我并不都熟悉html)。
以下使用我发现的斜杠指向一个子目录,在这种情况下为图像:
/Image/my_Image.png
pre>
是否有一个html相当于指向父目录?
解决方案
../
将为您提供一级高级父目录。您可以使用尽可能多的高级家长,如../../
../ Image / my_Image.png
将是父文件中的Image文件夹目录
I have a general question (I'm not all to familiar with html).
The following use of the slash I have discovered points to a sub-directory, in this case for Images:
/Image/my_Image.png
Is there an html equivalent for pointing to a parent directory?
解决方案
../
will give you one level higher parent directory. You can use as much as you want to go higher level parents like../../
../Image/my_Image.png
will be Image folder in parent directory
这篇关于在html中选择一个父目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文