Habe mal ne Frage:
Bin gerade dabei meine HTJ Artikel etwas zu "bereinigen" und wenn ich bei http://validator.w3.org/ bei "extended file upload" bei encoding western europe eingebe, dann bekomme ich eine Fehlermeldung, obwohl es bei Nikita oke ist
Line 439, column 18: document type does not allow element "DIV" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag
- Code: Alles auswählen
< d i v a l i g n ="right"><a h r e f ="#top"><b>Zum Inhalt</b></a>< / d i v >
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "< table >") inside an inline element (such as "<a>", "<span>", or "<font>").
Oder:
Line 580, column 3: document type does not allow element "LI" here
- Code: Alles auswählen
< li >Klicken Sie < b >Save Log< / b >< / li >
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).
Danach meckert der bei jedem ">".
Ich könnt wahnsinnig werden.
Danke schon mal!
MfG,