AgTalk Home
AgTalk Home
Search Forums | Classifieds (75) | Skins | Language
You are logged in as a guest. ( logon | register )

HTML Linking
View previous thread :: View next thread
   Forums List -> Computer TalkMessage format
 
torn
Posted 12/9/2014 11:52 (#4229324 - in reply to #4229216)
Subject: RE: HTML Linking


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
Top of the page Bottom of the page


Jump to forum :
Search this forum
Printer friendly version
E-mail a link to this thread

(Delete cookies)