zurück zur Startseite
  


Zurück XHTMLforum > (X)HTML und CSS > (X)HTML
Seite neu laden Warum ist das hier nicht w3c konform?

Antwort
 
LinkBack Themen-Optionen Ansicht
  #11 (permalink)  
Alt 25.07.2005, 19:11
Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 17.06.2005
Beiträge: 44
mar123 befindet sich auf einem aufstrebenden Ast
Standard

Ja hallo!
Ich hab es jetzt geschafft die php datei auf wenig fehler runter zu schrauben! Nun komme ich wirklich nicht mehr weiter!

Zitat:
...ht"></td></tr></table></td></tr></table></TD></TR></TABLE><center></a></span>

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.



Line 45, column 3214: end tag for element "TR" which is not open

.../td></tr></table></td></tr></table></TD></TR></TABLE><center></a></span></cen



Line 45, column 3222: end tag for element "TABLE" which is not open

...></table></td></tr></table></TD></TR></TABLE><center></a></span></center></d.



Line 45, column 3234: end tag for element "a" which is not open

...d></tr></table></TD></TR></TABLE><center></a></span></center></div>



Line 45, column 3241: end tag for element "span" which is not open

...</table></TD></TR></TABLE><center></a></span></center></div>



Line 45, column 3256: end tag for "td" omitted, but OMITTAG NO was specified

...TR></TABLE><center></a></span></center></div>

You may have neglected to close a tag, or perhaps you meant to "self-close" a tag; that is, ending it with "/>" instead of ">".



Line 45, column 297: start tag was here

...hinzufügen</a>[/list]</td></tr><tr><td>

Es gibt 4 Einträge in das Gäs

Line 45, column 3256: end tag for "tr" omitted, but OMITTAG NO was specified

...TR></TABLE><center></a></span></center></div>



Line 45, column 293: start tag was here

...rag hinzufügen</a>[/list]</td></tr><tr><td>

Es gibt 4 Einträge in das

Line 45, column 3256: end tag for "table" omitted, but OMITTAG NO was specified

...TR></TABLE><center></a></span></center></div>



Line 45, column 0: start tag was here

<table width='100%' cellpadding='4' cellspacing='4' border='0' align='center' cl
Mit Zitat antworten
Sponsored Links
  #12 (permalink)  
Alt 25.07.2005, 19:24
Erfahrener Benutzer
XHTMLforum-Mitglied
 
Registriert seit: 05.12.2004
Beiträge: 357
kippe befindet sich auf einem aufstrebenden Ast
Standard

Zitat:
</table></TD></TR></TABLE><center></a></span></center></div>
Alleine diese Zeile sagt mehr als 1000 Worte. Du darfst bei XHTML eben die Fehler, die dir HTML 4 durchgehen lässt, nicht mehr machen. Dazu gehört zum Beispiel Elemente unlogisch zu verschachteln!
__________________
Gruß,
Sebastian
Mit Zitat antworten
Sponsored Links
  #13 (permalink)  
Alt 25.07.2005, 19:32
Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 17.06.2005
Beiträge: 44
mar123 befindet sich auf einem aufstrebenden Ast
Standard

Danke!
jetzt gibt es nur noch zwei fehler
http://validator.w3.org/check?uri=ht...k%26Itemid%3D2
was da jemand weiter?
Mit Zitat antworten
  #14 (permalink)  
Alt 25.07.2005, 20:54
Benutzerbild von SilentWarrior
Erfahrener Benutzer
XHTMLforum-Mitglied
 
Registriert seit: 06.07.2005
Beiträge: 427
SilentWarrior befindet sich auf einem aufstrebenden Ast
Standard

Beide Fehler rühren daher, dass du schlicht und einfach ein </td> vergessen hast. Aber das steht genau so eigentlich auch im Validator:

Zitat:
end tag for "td" omitted
Mit Zitat antworten
  #15 (permalink)  
Alt 07.08.2005, 20:13
Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 17.06.2005
Beiträge: 44
mar123 befindet sich auf einem aufstrebenden Ast
Standard

Hallo,
(hat aber nichts mit dem oben genannten quellcode zu tun! ist was anderes)
muss noch mal was wegen der xhtml valdierung Fragen!
Ich bekommen folgende Fehlermeldungen und weiß jetzt überhaupt nicht wie ich diese ausbesseren soll!
Kann mir jemand die Fehlermeldungen erklären und Tipps zur Ausbesserung geben?
Zitat:
Line 120, column 1727: document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

...r='0' cellspacing='1' cellpadding='4'><tr><td class='sectiontableheader'>Comm

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 "

" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Zitat:
Line 120, column 6588: document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

...adding='4' cellspacing='1' border='0'><tr><td colspan='2' class='sectiontable
Zitat:
Line 120, column 6733: document type does not allow element "form" here

...ndex.php' target='_top' method='post'><input type='hidden' name='option' valu

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).
Zitat:
Line 120, column 6972: document type does not allow element "tr" here; assuming missing "table" start-tag

...try' /><tr class='sectiontableentry1'><td>Name:</td><td>Guest<input type='hid

Zitat:
Line 120, column 11354: there is no attribute "wrap"

...name='comment' class='inputbox' wrap='VIRTUAL' cols='0'></textarea></td></tr>

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.
Wie soll ich woll das ganze wrap löschen oder gibt es dazu eine alternative??


Zitat:
Line 120, column 11552: end tag for "table" omitted, but OMITTAG NO was specified

...click='validate()' /></td></tr></form></table></p><p align='center'><span cla

You may have neglected to close a tag, or perhaps you meant to "self-close" a tag; that is, ending it with "/>" instead of ">".
Zitat:
Line 120, column 6942: start tag was here

...'hidden' name='func' value='entry' /><tr class='sectiontableentry1'><td>Name:
Was soll die einzelne "start tag was here"??
Mit Zitat antworten
  #16 (permalink)  
Alt 07.08.2005, 21:39
Benutzerbild von Floele
Erfahrener Benutzer
XHTMLforum-Mitglied
 
Registriert seit: 30.03.2005
Beiträge: 355
Floele befindet sich auf einem aufstrebenden Ast
Standard

Zitat:
Zitat von mar123
Was soll die einzelne "start tag was here"??
Wen ein Tag nicht richtig geschlossen wurde zeigt der Validator noch jeweils zusätzlich an um welchen Öffnungs-Tag (start-tag) es sich handelt.
Mit Zitat antworten
  #17 (permalink)  
Alt 07.08.2005, 22:31
Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 17.06.2005
Beiträge: 44
mar123 befindet sich auf einem aufstrebenden Ast
Standard

Danke für deine Antwort!
Ich kann die Fehler irgendwie nich beheben!
Ich such schon Stunden lang in google!
Ich habe in einem Forum gelesen, dass man das form element immer über das table machen muss! So jetzt habe ich dies gemacht und jetzt kommen folgende Fehlermeldungen!

was soll diese fehlermeldung document type does not allow element "input" here.??
Kann mir noch jemand an Hand des Auschnitt aus dem Quellcode die Fehler erklären?




Zitat:
Error Line 120 column 1727: document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.
...r='0' cellspacing='1' cellpadding='4'><tr><td class='sectiontableheader'>Comm
Zitat:
Error Line 121 column 4119: document type does not allow element "form" here; missing one of "object", "applet", "map", "iframe", "ins", "del" start-tag.
...ndex.php' target='_top' method='post'><table align='center' width='100%' cell
Zitat:
Error Line 121 column 4327: document type does not allow element "input" here.
...ame='option' value='com_akocomment' /><input type='hidden' name='acitemid' va
Zitat:
Error Line 121 column 4376: document type does not allow element "input" here.
...='hidden' name='acitemid' value='0' /><input type='hidden' name='contentid' v
Zitat:
Error Line 121 column 4426: document type does not allow element "input" here.
...'hidden' name='contentid' value='1' /><input type='hidden' name='func' value=


Zitat:
Error Line 121 column 4475: document type does not allow element "input" here.
...='hidden' name='func' value='entry' /><tr class='sectiontableentry1'><td>Name



Hier ein Ausschnitt aus der index.php:


Code:
 $akoinputforum .= "<form name='akocommentform' action='index.php' target='_top' method='post'>";
        $akoinputforum .= "<table align='center' width='100%' cellpadding='4' cellspacing='1' border='0'>";
        $akoinputforum .= "<tr><td colspan='2' class='sectiontableheader'>"._AKOCOMMENT_WRITECOMMENT."</td></tr>";
        $akoinputforum .= "<input type='hidden' name='option' value='com_akocomment' />";
        $akoinputforum .= "<input type='hidden' name='acitemid' value='$Itemid' />";
        $akoinputforum .= "<input type='hidden' name='contentid' value='$row->id' />";
        $akoinputforum .= "<input type='hidden' name='func' value='entry' />";
        $akoinputforum .= "<tr class='sectiontableentry1'><td>"._AKOCOMMENT_ENTERNAME."</td><td>";
        if ($my->username) {
          $akoinputforum .= "$my->username<input type='hidden' name='acname' value='$my->username' />";
        } else {
          $akoinputforum .= _AKOCOMMENT_GUESTNAME."<input type='hidden' name='acname' value='"._AKOCOMMENT_GUESTNAME."' />";
        }
        $akoinputforum .= "</td></tr>";
        $akoinputforum .= "<tr class='sectiontableentry1'><td>"._AKOCOMMENT_ENTERTITLE."</td><td><input type='text' name='title' style='width:75%;' class='inputbox' /></td></tr>";
        # Switch for BB Code support
        if ($ac_bbcodesupport) {
          $akoinputforum .= "<tr class='sectiontableentry1'><td width='130'>BBCode:</td><td>";
          $akoinputforum .= "[img]components/com_akocomment/images/bburl.gif[/img]";
          $akoinputforum .= "[img]components/com_akocomment/images/bbemail.gif[/img]";
          if ($ac_picsupport) $akoinputforum .= "[img]components/com_akocomment/images/bbimgsrc.gif[/img]";
          $akoinputforum .= "[img]components/com_akocomment/images/bbbold.gif[/img]";
          $akoinputforum .= "[img]components/com_akocomment/images/bbitalic.gif[/img]";
          $akoinputforum .= "[img]components/com_akocomment/images/bbunderline.gif[/img]";
          $akoinputforum .= "[img]components/com_akocomment/images/bbquote.gif[/img]";
          $akoinputforum .= "[img]components/com_akocomment/images/bbcode.gif[/img]";
          $akoinputforum .= "[img]components/com_akocomment/images/bblistopen.gif[/img]";
          $akoinputforum .= "[img]components/com_akocomment/images/bblistitem.gif[/img]";
          $akoinputforum .= "[img]components/com_akocomment/images/bblistclose.gif[/img]";
          $akoinputforum .= "</td></tr>";
        }
        $akoinputforum .= "<tr class='sectiontableentry1'><td valign='top'>"._AKOCOMMENT_ENTERTEXT."

";
        # Switch for Smilie Support
          if ($ac_smiliesupport) {
            $count=1;
            foreach ($smiley as $i=>$sm) {
              $akoinputforum .= "<a href=\"javascript:ac_smilie('$i')\" title='$i'>[img]$mosConfig_live_site/components/com_akocomment/images/$sm[/img]</a> ";
              if ($count%5==0) $akoinputforum .= "
";
              $count++;
            }
          }
        $akoinputforum .= "</td><td valign='top'><textarea style='width:75%;' rows='8' name='comment' class='inputbox' cols='40'></textarea></td></tr>";
        $akoinputforum .= "<tr class='sectiontableentry1'><td> </td><td align='left'><input type='button' name='send' value='"._AKOCOMMENT_SENDFORM."' class='button' onclick='validate()' /></td></tr></table></form>";
        $akoinputforum .= "</p>";
      }
Mit Zitat antworten
  #18 (permalink)  
Alt 08.08.2005, 12:22
Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 17.06.2005
Beiträge: 44
mar123 befindet sich auf einem aufstrebenden Ast
Standard

Kann mir jemand an Hand des Auschnitt aus dem Quellcode die Fehler erklären/beheben?
Mit Zitat antworten
  #19 (permalink)  
Alt 08.08.2005, 12:35
Benutzerbild von derHund
durstiges Tier
XHTMLforum-Mitglied
 
Registriert seit: 16.09.2004
Beiträge: 869
derHund befindet sich auf einem aufstrebenden Ast
Standard

wo findet sich der html-code?
meinst du, jemand möchte in Line 121 column 4119 nachschauen?

das kann doch nicht so schwer sein: nimm den ersten fehler, such seinen ursprung im php, korrigier den fehler, nimm den nächsten, ...
__________________
Die Zeit hat ihre Kinder längst gefressen: hund (back in black) | ??? | ??? | ...
Mit Zitat antworten
Sponsored Links
  #20 (permalink)  
Alt 08.08.2005, 12:40
Benutzer
neuer user
Thread-Ersteller
 
Registriert seit: 17.06.2005
Beiträge: 44
mar123 befindet sich auf einem aufstrebenden Ast
Standard

Nein!
Aber ich weiß nicht was diese Fehlermeldung heißt
Zitat:
Error Line 121 column 4327: document type does not allow element "input" here.
...ame='option' value='com_akocomment' /><input type='hidden' name='acitemid' va
Mit Zitat antworten
Sponsored Links
Antwort

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Ausrichtung Kalender greece4u CSS 20 14.05.2012 14:32
Social Networks vs. W3C Validation erxx (X)HTML 1 05.10.2011 15:44
Inhalte verschwinden im IE, sind aber w3c konform und in Safari und Firefox sichtbar stefanw CSS 4 09.02.2009 14:52
W3C Konform? Monchichi CSS 14 24.08.2007 10:01
W3C Validator Fehlermeldungen 5enses (X)HTML 5 05.06.2007 16:54


Alle Zeitangaben in WEZ +2. Es ist jetzt 14:34 Uhr.