| This image represents directories | |
| This image represents files |
To create the links from pages in one directory to those in another directory, you need to include the path in your link. To link from your top level page, such as index.html, to a page in the cemeteries directory called cemlist.html, your link would read:
home directory (often called public_html)
use this directory for your top level pages such as index.html (or .htm) NOTE: no files or directories should be "higher" than this one. On your own computer you might call this directory the same as your site, for example: ~arfrankl
index.html
images
(put most of your images in this subdirectory)
site.gif
queries
(use this subdirectory if you have archived queries, if you only have a single query page, put it in the top level directory and don't have this sub)surnames
(use this subdirectory if you have or plan to have a series of surname pages)cemeteries
(if you have cemeteries with a number of pages, give them subdirectories under this one)
bigcem
largecem
cemlist.html
towns
(you may need to have subdirectories under this one, or, if you have a bunch of images (historic town photos for example, you might want to make an images directory here)
bigtown
images
<A HREF="cemeteries/cemlist.html">Cemetery Listings</A>
To link from a lower directory to an upper directory, you need to include a "backstep" in your path. You do this with ../ so a link from cemlist.html in your cemeteries directory back to the main index.html would read:
<A HREF="../index.html">back to main page</A>
With most of your images in the upper level images directory, you will need to do an up-and-down link from lower level pages, so again, to link to an image file called site.gif in the images directory from cemlist.html in the cemeteries directory:
<IMG SRC="../images/site.gif">
(your image tag should of course also have the height and width and ALT attributes)