-1
Website
    Home.html
    Pages
        Page1.html

Above is a file tree that I'm trying to navigate. How can I reference Home.html from Page1.html?

  • Possible duplicate of [Having links relative to root?](https://stackoverflow.com/questions/5559578/having-links-relative-to-root) – ata Jun 15 '18 at 18:50

1 Answers1

0

Prefacing a URI with ../ ( e.g. <a href="../Home.html">Home</a> ) will move up the tree by one folder (repeat as necessary). Prefacing a URI with / ( e.g. <a href="/Home.html">Home</a> ) will move to the tree's root.

Matthew Moore
  • 866
  • 7
  • 10