www.webdeveloper.com
Results 1 to 6 of 6

Thread: How would you configure a hyperlink....

Hybrid View

  1. #1
    Join Date
    Nov 2013
    Posts
    3

    How would you configure a hyperlink....

    How would you configure a hyperlink from the index.html file to another file named services.html which is located in a subfolder named categories?

    1)<a href="services.html">Services</a>
    2)<a href="categories/services.html">Services</a>
    3)<a href="../categories/services.html">Services</a>

  2. #2
    Join Date
    Nov 2013
    Posts
    4
    If you directory structure is:

    index.html
    categories->services.html

    Then I'd do it using your option number 2:
    2)<a href="categories/services.html">Services</a>

  3. #3
    Join Date
    Nov 2013
    Posts
    4
    *your (I can't edit my post for some reason :/ )

  4. #4
    Join Date
    Nov 2013
    Posts
    3
    but services.html is located in a subfolder !!!

  5. #5
    Join Date
    Nov 2013
    Posts
    4
    If the folder named 'categories' is on the same level as index.html then what I wrote is definitely right. Trust me.

  6. #6
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,211

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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