On Sunday 17 September 2006 08:05, Dan Lewis wrote: > On Saturday 16 September 2006 11:41 am, James Reed wrote:
> How did you write your hyperlinks? If you used the > complete URL as the address, your results are normal. In such > cases, you can not test the hyperlinks without uploading the > pages to the website. For example: suppose your web site were > http://www.xyz.com/ and one page of it were Apples.html. The > correct complete URL to the Apple.html web page is > http://www.xyz.com/Apple.html. > If you entered a hyperlink in your index.html file as > http://www.xyz.com/Apple.html, this hyperlink will only work > after Apple.html is uploaded to your web site. > However, there is another way to write hyperlink > addresses. It is called relative addresses. In this case, the > address in the hyperlink in index.html should be ./Apple.html > instead of > http://www.xyz.com/Apple.html. > In this case, ./Apple.html tells the browser to look in > the same directory as index.html for the file Apple.html. It will also work without the ./ as in Apple.html it would also be a very good idea to get in the habit of naming all your files in lower case if you are not doing that already. Upper case and lower case can be mixed on Microsoft Windows systems which is a mistake but cannot be mixed on any other operating system. Example: Apple, apple, APPLE will be treated the same on MS but different on any other system. file name and HTML tags should always be written in lower case. It will eliminate confusion. Go have a look at the source code on the two sites below. -- Jack Gates http://www.jlgates.com http://www.morningstarcom.net --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
