I am writing code which interprets html links in C.
My query relates to some html I have found in the big bad world.
If you look at the html source code for the page
www.hosting-review.com/ it has a link of <a href="../../preferredsites/main.shtml>.
But the current page is "/". so how can you reference "../../" ???
I checked for a "base" element ,but I couldn't see any in the html source.
I perused the relavant rfc's but from what I can gather relative links should always be referenced in relation to the current document unless a base document has been stated ?!?!
Am I missing something?
Thnks in advance