Forum Moderators: open
<base href="http://www.example.com/">
I use that and validate just fine. According to what I found on the W3C, it's advised to use the full URL for each page, ie.
<base href="http://www.example.com/page.html">
<base href="http://www.example.com/folder/page.html"> etc.
But you can't use the TARGET attribute if you are using XHTML/HTML strict, can you?
You can use the target attribute even in XHTML however it may stop validation. I've argued it many times before, but the absence of the target attribute from certain doctypes is just plain stupid. If you need it, use it, if you don't then don't.
Correct functionality is more important than validation.
Kaled.