Results 1 to 3 of 3

Thread: A link doesnt work

  1. #1
    Join Date
    Aug 2003
    Montreal, Canada

    A link doesnt work

    This is my webpage... If you click on number 6. The link doesnt work.
    Can you tell me whats wrong with that link?
    Thanks for your help.

  2. #2
    Join Date
    Jul 2004
    Sendai, Japan

  3. #3
    Join Date
    Nov 2002
    And here's the reason why the link wasn't working. When you add in a link without the http:// part then the link gets added on to whatever the link to the current page is.

    "www.somepage.com" becomes "http://www.currentpage.com/www.somepage.com"

    You can use this habit to your benefit though. Let's say you are at your home page and you want to go another page within your site. You can just add the file name if the page is in the same directory.

    "otherpage.html" becomes "http://www.currentpage.com/otherpage.html"

    Go to a different section of your site?

    "folder/otherpage.html" becomes "http://www.currentpage.com/folder/otherpage.html"

    Going back to the home page while in one of the folder sections of your site?

    "../otherpage.html" becomes "http://www.currentpage.com/otherpage.html"

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles