Relative vs Absolute paths

M

MT

Hello Everyone:

I have been reading some conflicting information regarding
the use of relative and absolute paths in XHTML or JavaScript.

Can someone give me a clear answer as to which
advantages/disdavantages there are for each? Or if you
can point me to a web site where this is clearly explained.

Thanks in advance,
Mario
 
D

David Dorward

MT said:
I have been reading some conflicting information regarding
the use of relative and absolute paths in XHTML or JavaScript.

Can someone give me a clear answer as to which
advantages/disdavantages there are for each? Or if you
can point me to a web site where this is clearly explained.

Relative are shorter and generally more portable between sites.

Absolute let you have load a resource from one domain in to a page on
another.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top