Posted by Fox on 2000-07-16
> Say you had a webpage named stuff.html that lives in a directory called
> myfavoritestuff. No say you had another page in there called bookmarks.html and you
> wanted to have stuff.html link to bookmarks.html you would do something like this:
>
> <a href="bookmarks.html">bookmarks link</a>
>
> Since bookmarks.html lives in the same directory as stuff.html you don't have to
> specify a file path.
>
> Now when you upload your pages to your web account you upload them both to the same
> directory. Now the links will still work because you haven't hard coded any file
> paths. The links are said to be relative to the directory they live in.
/*****************************************/
So, internet addresses are actually file paths on a remote computer? Please
forgive the ignorance of the question, but I don't know how the internet works, and
I'm just starting to find out (the magic of the internet is fading in my mind, in other
words :-).
Web addresses are in fact file pathnames on other computers? And to get
slightly different addresses, you include HTML and like documents in a seperate
directory and upload the directory to the server, too?
Thanks for everyone's help. It's much appreciated.
Previous post | Next post | Timeline | Home