F
FluxForums
*Relative vs. Absolute URLs
URLs within HTML documents can take two forms, *absolute* (or full) an
*relative* (or partial).
An *absolute URL* is a full pathname which completely defines how t
reach a referenced file, regardless of where the file is reference
from. An example of an absolute URL is:
<A HREF=http://tinyurl.com/2zryc>Sample Page</A>
A *relative URL* gives only the amount of information necessary to fil
a referenced file relative to the location of the current file. A
example of a relative URL is:
<A HREF="sample.html">Sample Page</A> The difference between the two i
that the absolute URL above could be used to access the Sample pag
from anywhere in the world -- it gives complete access informatio
which will always work. The relative URL shown would only work i
called from another document already in th
*'www.yourwebsite.com/test/' (http://tinyurl.com/3ewud)* directory
URLs within HTML documents can take two forms, *absolute* (or full) an
*relative* (or partial).
An *absolute URL* is a full pathname which completely defines how t
reach a referenced file, regardless of where the file is reference
from. An example of an absolute URL is:
<A HREF=http://tinyurl.com/2zryc>Sample Page</A>
A *relative URL* gives only the amount of information necessary to fil
a referenced file relative to the location of the current file. A
example of a relative URL is:
<A HREF="sample.html">Sample Page</A> The difference between the two i
that the absolute URL above could be used to access the Sample pag
from anywhere in the world -- it gives complete access informatio
which will always work. The relative URL shown would only work i
called from another document already in th
*'www.yourwebsite.com/test/' (http://tinyurl.com/3ewud)* directory