abstract:
Using the same link from anywhere in the site (say on a menu that appears on every page) is really handy, but I was just wondering what the specific rules are in relation to this kind of usage, as I'm new to this and am trying to be careful not to fall into an HTML crevasse!
Can anyone can cite some official guidelines for this href="/folder/" usage?
Thanks for any suggestions.
I'm exploring the formalities of relative links to folders.
In particular, I've noticed that, whereas a link like href="folder/page.html" must vary depending on where the referring page is located in the site (eg, another referring page might have href="../../folder/page.html"), a link like href="/folder/" can remain the same no matter what page it appears in, and will always land you on the index page in that folder.
Using the same link from anywhere in the site (say on a menu that appears on every page) is really handy, but I was just wondering what the specific rules are in relation to this kind of usage, as I'm new to this and am trying to be careful not to fall into an HTML crevasse!
Can anyone can cite some official guidelines for this href="/folder/" usage?
Thanks for any suggestions. |