This tag is XHTML compatible. You can check this forum which is also enhanced by Magic SEO URLs and you will get Valid XHTML as a result.
redburn wrote:Absolutely. The problem, however, is that my templates have the HTML 4.01 doctype, not XHTML 1.0, so the formatting of the BASE tag is invalid. I understand why it is XHTML by default (i.e. <base href="" /> instead of <base href="">).
The sequence <FOO /> can be interpreted in at least two different ways, depending on the DOCTYPE of the document. For HTML 4.01 Strict, the '/' terminates the tag <FOO (with an implied '>'). However, since many browsers don't interpret it this way, even in the presence of an HTML 4.01 Strict DOCTYPE, it is best to avoid it completely in pure HTML documents and reserve its use solely for those written in XHTML.
You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include: using XHTML-style self-closing tags (such as <meta ... />) in HTML 4.01 or earlier. To fix, remove the extra slash ('/') character.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<base href="http://www.example.com/" /><!--[if IE]></base><![endif]-->
Users browsing this forum: No registered users and 9 guests