Click to See Complete Forum and Search --> : html relative links


amazing_andr3
12-09-2004, 06:42 PM
I have noticed all the sites that I visit use the full href="http://blahblah.com/page1.html" instead of the relative "page1.html".

I always use the latter coz it works on my computer too, and it's shorter. Is there any reason why everyone uses the full address? I mean, the relative one is so much better!

PeOfEo
12-09-2004, 07:12 PM
The url may reside on another server or it might just be something they have chosen to do with a server side script.

Charles
12-09-2004, 08:01 PM
Or it may be that, with your browser, when you "view source" you are looking at a resolved version of the source.