Hallo,
ich habe mir testweise einfach mal eine stinknormale Seite gebastelt (mit GMENU), welche ich zum erbrechen nicht w3c-valid bekomme -.-
Hier mein HTML-Source:[HTML]<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!--
This website is brought to you by TYPO3 - get.content.right
TYPO3 is a free open source Content Management Framework created by Kasper Skaarhoj and licensed under GNU/GPL.
TYPO3 is copyright 1998-2005 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
Information and contribution at http://www.typo3.com
-->
<title>Landesbühne Hannover</title>
<meta name="generator" content="TYPO3 3.8 CMS" />
<script type="text/javascript">
/*<![CDATA[*/
<!--
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
var msie4 = (browserName == "Microsoft Internet Explorer" && browserVer >= 4);
if ((browserName == "Netscape" && browserVer >= 3) || msie4 || browserName=="Konqueror") {version = "n3";} else {version = "n2";}
// Blurring links:
function blurLink(theObject) { //
if (msie4) {theObject.blur();}
}
// -->
/*]]>*/
</script>
</head>
<body bgcolor="#FFFFFF">
<table width="100%" border="0">
<tr>
<td><a href="index.php?id=6" onfocus="blurLink(this);"><img src="typo3temp/menu/81bfc988a3.gif" width="120" height="50" border="0" alt="Spielplan" /></a><a href="index.php?id=5" onfocus="blurLink(this);"><img src="typo3temp/menu/423a39ced8.gif" width="120" height="50" border="0" alt="Tickets" /></a><a href="index.php?id=4" onfocus="blurLink(this);"><img src="typo3temp/menu/3451bc528e.gif" width="120" height="50" border="0" alt="LaBü" /></a><a href="index.php?id=3" onfocus="blurLink(this);"><img src="typo3temp/menu/93298ee32c.gif" width="120" height="50" border="0" alt="News" /></a><a href="index.php?id=2" onfocus="blurLink(this);"><img src="typo3temp/menu/e8202decc1.gif" width="120" height="50" border="0" alt="Kontakt" /></a></td>
</tr>
<tr>
<td></td>
</tr>
</table>
</body>
</html>[/HTML]
Hier mein HTML-Grundgeruest:
[HTML]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<body>
<table width="100%" border="0">
<tr>
<td>###MAIN_MENU###</td>
</tr>
<tr>
<td>###SUB_MENU1###</td>
</tr>
</table>
</body>
</html>[/HTML]
Und hier der w3c-Quark:
..." content="text/html; charset=iso-8859-1" />
You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).
2.) Error Line 35 column 6: end tag for element "HEAD" which is not open.
</head>
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
If this error occured in a script section of your document, you should probably read this FAQ entry.
3.) Error Line 36 column 23: document type does not allow element "BODY" here.
<body bgcolor="#FFFFFF">
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Wtf?
Ich habe soweit wie moeglich versucht, die Fehler zu beseitigen, aber bekomme es nicht gebacken.. liegt das wirklich an mir? Oder spinnt w3c? Oder KANN Typo3 einfach keine 100% valid Seiten erstellen?
Thanks fuer Antworten..