|
|
Relative Links. We assume that you are using a PC to develop your web pages. It is a good idea to make the pages with relative links and to test them out thoroughly on you PC before uploading. So you should create your own \www directory on the PC and under it directories with identical names to the ones you create or intend to create on our server. If you are making a link to a page in the same directory just give the filename. For example the link to grab.htm should be: <a href="grab.htm">grab here</a> rather than <a href="http://www.u-net.com/yourdir/grab.htm">grab here</a> It saves typing, allows you to test everything off-line, and means that if you (or we for that matter) decide to reorganise things life will be much easier. Similarly use relative links to graphics images such as .gif files. Down a Level. To go down a level give the relative path i.e. use "grabbers/grab.htm" if the link is to a subdirectory of the current one. PLEASE NOTE THAT YOU SHOULD USE THE UNIX / RATHER THAN THE DOS \ FOR ALL THESE COMMANDS. Up a Level. An example would be if you decide to store all the .gifs in one place especially if they are to be used from different pages. So lets say under your home directory you create two directories - /gif/ and /text/. In order to reference a .gif in the /gif/ directory from a HTML page in the /text/ directory you would use: <img src="../gifs/picture.gif"> Please note that it is the users responsibility to keep current backups of their website. |
|
|
|
![]()