Solved

links

Posted on 1998-12-14
2
176 Views
Last Modified: 2010-04-09
do I have to submit my page to get the links to oter files to work? if not then please give a detailed descripsion on how to do it. thank you.
0
Comment
Question by:ryanmsmith
2 Comments
 
LVL 2

Expert Comment

by:estest
ID: 1840641
Hmm...

Hard to tell what you are trying to do. Are you trying to test the links on your page, while it resides on your local machine?
0
 
LVL 4

Accepted Solution

by:
rafistern earned 50 total points
ID: 1840642
Links to other pages may be written in two ways:
1. <a href="http://www.somewhere.com/apage.html">link</a>
or <a href="/index.html">link</a>
2. <a href="../../anotherpage.html">link</a>

The first form is an "absolute" link in that it defines the absolute path to the page. Note that I have given two forms. In the first your are giving a full URL of the page and in the second you are giving the absolute path of a local file (from the root directory of your site).

The second form is a "relative" link in that it defines the position of the page in relation to the position of the current page.


If your other files are also present on your computer, then you can link to them using a relative path and the links should work.

If they are present on your comuter but you wrote them as an absolute path then the chances are that the links will not work until you submit the whole site to the server.

If the links are to another site then they must be defined as absolute paths and may be accessed also while your files are on your local computer provided you have have Internet access.

I hope this answers your question.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP:Radiobuttonlist/asp:RadioButtonListItem custom styling 1 42
Set email body to html using vbscript 6 41
HTML &#0153 2 17
HTML5 save .Dat to server side 20 47
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

778 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