Search code examples
htmldirectoryparent

Selecting a parent directory in html


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?


Solution

  • ../ 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