Is it possible to open a file from the parent folder?
lets say I have this file tree
parent
    other
        file.pdf
    website
        index.html
and I wanted to open file.pdf from index using the a tag, how would I do it? Is it possible?
Is it possible to open a file from the parent folder?
lets say I have this file tree
parent
    other
        file.pdf
    website
        index.html
and I wanted to open file.pdf from index using the a tag, how would I do it? Is it possible?
 
    
    Use the "special instruction" .. to traverse "up" a directory level:
<a href="../other/file.pdf">file.pdf</a>
It can be repeated multiple times to continue traverse up the folder hierarchy.
Use double dot to go one level up:
<a href="../other/file.pdf">file.pdf</a>
 
    
    Yes, you simply give the full path in the href
<a href="../other/file.pdf">link</a>
