Einzelnen Beitrag anzeigen
  #1 (permalink)  
Alt 26.01.2008, 19:22
0etzi 0etzi ist offline
Neuer Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 26.01.2008
Beiträge: 3
0etzi befindet sich auf einem aufstrebenden Ast
Standard Validierungsfehler mit <noscript>

Hallo,

Ich möchte folgenden Code (php-Web-Statistik) in eine Website einbauen:
Code:
<script type="text/javascript" src="http://www.meine-domain.de/stat/track.php?mode=js"></script>
<noscript><img src="http://www.meine-domain.de/stat/track_noscript.php" alt="" width="1" height="1" /></noscript>
Allerdings ist die Seite dann nicht mehr Valid XHTML 1.0 Strict!
Folgende Meldung erscheint (rote Markierung!):
Zitat:
document type does not allow element "img" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "address", "fieldset", "ins", "del" start-tag .

…" alt="&nbsp;" width="1" height="1" /></noscript>



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>").
Wie kann ich das lösen, dass das Valid XHTML 1.0 Strict! ist?
Mit Zitat antworten
Sponsored Links