Issue
I have a folder named "myWebsite".
Inside that folder I have "index.html" and another folder named "other". Inside "other" I have CSS files JS files and "page2.html". I have linked all files with my "index.html". But when I am in "page2.html", I want a link that will lead me to "index.html".
<a href=".../index.html">go back</a>
Solution
In order to navigate back you should use '../' if you want point two folders back you can use '../../' for instance.
In this case, within Page2.html use:
<a href="../index.html">go back<a>
NOTE: You have an extra dot.
Answered By - Bryan Canelas
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.