|
Posted by John Dunlop on 03/07/06 21:33
Jim Carlock:
> I'm wondering why some companies apply that technique?
The BASE element lets you make the base URL explicit: it trumps the
other two ways of establishing a base URL. For example, you could
include it in so-called mirror pages in which every relative URL should
point to an external host; or certain error pages (e.g., 404s), where
the requested URL is different to the current URL; or a text/html part
of an e-mail, which lacks an implicit base URL.
I see no reason in theory to include a BASE href whose value is
equivalent (in some sense) to the base URL as it would be established
by RFC3986. I can only imagine that, if it was included deliberately,
it was meant as a workaround to a bug.
--
Jock
Navigation:
[Reply to this message]
|