[uf-discuss] URLs in hrefs
Nic James Ferrier
nferrier at tapsellferrier.co.uk
Mon Apr 23 05:33:31 PDT 2007
"Brian Suda" <brian.suda at gmail.com> writes:
> you can have the best of both worlds. In each <a href=""> just use
> "/radio4". This makes the link relative. But then you can also add a
> <base href="http://bbc.co.uk/"> when this is in your HTML it will make
> all the hrefs absolute (or it should for any decent parser).
>
> The advantage of using the <base> element is that you can easily
> switch it to something like <base href="http://my-dev-site.bcc.co.uk">
> and you don't have to rewrite all the hrefs within the HTML.
Hey! Good suggestion.
Easy to generate as well.
--
Nic Ferrier
http://www.tapsellferrier.co.uk
More information about the microformats-discuss
mailing list