|
roaming | Relative links are always based on the folder the active file is in. For example, if you're on your Homepage (index.html), and you want to link to a file in the "Planting" directory, your relative link would look like <a href="planting/myfile.html">My File</a>.
So you click that link and now you're on My File (myfile.html). You want to link back to the Homepage. Your relative link would look like <a href="../index.html">Homepage</a>
Remember, if you're hosting on a Windows server, case doesn't matter (planting/myfile.html is the same as Planting/myfile.html). But if you're hosting on Linux, case does matter.
Edited by torn 12/9/2014 11:56
| |
|