?
Solved

HTML question about HREF=file:     It's pointing to an old location!

Posted on 2013-11-17
4
Medium Priority
?
373 Views
Last Modified: 2013-11-17
I uploaded a simple web page "A" but a link to page "B" isn't working and when I hover my mouse over the hyperlink I see the school student lab mapped drive where I created the page.  This doesn't make sense.  why would it transfer that to my web page  I'm now working on this site at home.

Needless to say, my simple link to another page isn't working.
1.  What is this bad href=  what does it stand for?
2.  How to fix?

  href="file:///\\LAB01\Users\BroTrofski\Private\site\contact.htm"
0
Comment
Question by:brothertruffle880
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 2000 total points
ID: 39655255
Your link should look like this

<a href="/contact.htm">My Link</a>

This would look for contact.htm in the sites root folder.

You cannot link to local resources from an external website.
0
 

Author Comment

by:brothertruffle880
ID: 39655288
Gary:
I didn't create that link.   I just saved the web page file as a simple HTML file and the software did it.
0
 
LVL 58

Expert Comment

by:Gary
ID: 39655297
What software
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 39655301
Saving the file to your own computer makes it a local file.  Where is the confusion?
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will learn how to dynamically set the form action using jQuery.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question