IPB

Willkommen, Gast ( Anmelden | Registrierung )

 
Reply to this topicStart new topic
> Unbekannte Problem (jedenfalls für mich), HTML-Tidy & Tidy exe spucken Fehlermeldungen aus.
Gast_Mütze_*
Beitrag 09.02.2006 - 7:25
Beitrag #1





Gäste






omg.gif Hallo,
Ihr könnt mich heute "Rudi Ratlos" nennen. Habe gestern die schon fertigen Seiten erst einmal durch den Phase 5-eigenen Debugger geschickt, dann durch den NVU, weil er mein Chaos so schön ordnet.
Nun habe ich sie durch Tidy.exe und HTML-Tidy(o.ä) checken lassen und bekomme einen Wust von Fehlermeldungen, die ich nicht alle verstehe. Könnt Ihr Euch das mal anschauen? Danke! Ihr seid die Cracks, ich habe gerade mal 8 von 26 (ca.) fertig! Oder auch nicht? sad.gif

Gruß, Mütze smile.gif

P.S.: Gestern bekam ich noch die Fehlermeldung, dass die Doctype fehlt, ist aber nach NVU weg.


Tidy (vers 30th April 2000) Parsing "C:\DOKUME~1\ANDREA~1\LOKALE~1\Temp\HTM6C.tmp"
line 17 column 3 - Warning: <script> lacks "type" attribute
line 39 column 1 - Warning: <table> lacks "summary" attribute
line 46 column 7 - Warning: <table> lacks "summary" attribute
line 53 column 13 - Warning: <table> lacks "summary" attribute
line 89 column 20 - Warning: missing </font> before <div>
line 89 column 39 - Warning: inserting implicit <font>
line 92 column 19 - Warning: discarding unexpected </font>
line 99 column 19 - Warning: <table> lacks "summary" attribute
line 151 column 7 - Warning: <table> lacks "summary" attribute
line 158 column 13 - Warning: <table> lacks "summary" attribute
line 165 column 19 - Warning: <table> lacks "summary" attribute
line 172 column 25 - Warning: <table> lacks "summary" attribute
line 251 column 19 - Warning: <table> lacks "summary" attribute
line 258 column 25 - Warning: <table> lacks "summary" attribute
line 306 column 19 - Warning: <table> lacks "summary" attribute
line 313 column 25 - Warning: <table> lacks "summary" attribute
line 368 column 166 - Warning: unescaped & or unknown entity "&system"
line 374 column 166 - Warning: unescaped & or unknown entity "&system"
line 418 column 19 - Warning: <table> lacks "summary" attribute
line 425 column 25 - Warning: <table> lacks "summary" attribute
line 446 column 19 - Warning: <table> lacks "summary" attribute
line 465 column 19 - Warning: <table> lacks "summary" attribute
line 478 column 19 - Warning: <table> lacks "summary" attribute
line 510 column 20 - Warning: <table> lacks "summary" attribute
line 533 column 20 - Warning: <table> lacks "summary" attribute
line 550 column 20 - Warning: <table> lacks "summary" attribute
line 583 column 20 - Warning: <table> lacks "summary" attribute
line 597 column 19 - Warning: <table> lacks "summary" attribute
line 606 column 26 - Warning: missing </font> before <div>
line 606 column 45 - Warning: inserting implicit <font>
line 609 column 25 - Warning: discarding unexpected </font>
line 623 column 26 - Warning: missing </font> before <div>
line 623 column 45 - Warning: inserting implicit <font>
line 630 column 25 - Warning: discarding unexpected </font>
line 639 column 19 - Warning: <table> lacks "summary" attribute
line 641 column 19 - Warning: trimming empty <table>
line 643 column 19 - Warning: <table> lacks "summary" attribute
line 672 column 13 - Warning: <table> lacks "summary" attribute
line 679 column 19 - Warning: <table> lacks "summary" attribute
line 699 column 25 - Warning: <table> lacks "summary" attribute
line 746 column 1 - Warning: html doctype doesn't match content

"C:\DOKUME~1\ANDREA~1\LOKALE~1\Temp\HTM6C.tmp" appears to be HTML proprietary
41 warnings/errors were found!

Als kleines Schmankerl`bekam ich noch das hier:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

Also ist doch ein Doctype vorhanden, oder?

Vielen Dank für Eure Mühe!
Go to the top of the page
 
+Quote Post
i.b.g
Beitrag 09.02.2006 - 10:17
Beitrag #2


Weiss zuviel!!
Gruppensymbol

Gruppe: Mods
Beiträge: 668
Mitglied seit: 19.04.2002
Wohnort: Grimmen
Mitglieds-Nr.: 385



Hallo,

ZITAT(Mütze @ 09.02.2006 - 7:25) *
Könnt Ihr Euch das mal anschauen?


line 17 column 3 - Warning: <script> lacks "type" attribute
wird so <script type="text/javascript> erwartet

line 39 column 1 - Warning: <table> lacks "summary" attribute
das summary-Attribut dient Browsern, die das können dazu, die Zusammenfassung der Tabelle vorzulesen, und ist nach den Recommendations eigentlich ein Pflichtfeld

line 89 column 39 - Warning: inserting implicit <font>
line 92 column 19 - Warning: discarding unexpected </font>
Du solltest den font-Tag vollständig aus deinen Quelltexten verbannen - Tidy hat hier offensichtlich aufgeräumt.

line 368 column 166 - Warning: unescaped & or unknown entity "&system"
Du hast entweder das "&" benutzt ohne das es als
QUELLTEXT
&
maskiert wurde oder eine unbekanntes Zeichen benutzt, denn "&system;" ist kein gültiges Entity.

line 606 column 26 - Warning: missing </font> before <div>
Du hast ggf die Schachtelung der Tags nicht ordentlich durchgeführt.
<div><font></div></font> ist unzulässig
<div><font></font></div> ist zulässig
Aber! Du sollst den font-Tag nicht mehr verwenden, sondern die notwendigen Auszeichnungen mit CSS umsetzen und dann z.B. direkt in den div-Tag setzen.

line 641 column 19 - Warning: trimming empty <table>
Die leere Tabelle wurde beschnitten - wohl auf das unbedingt notwendige Maß.

line 746 column 1 - Warning: html doctype doesn't match content
Du hast in deinem Quelltext Tags verwendet, die im angegebenen Doctype nicht zugelassen sind.

Ich finde aber, dass dieses Hin und Her zwischen Phase5 und NVU nicht gerade zu einer homogenen Arbeitsweise beiträgt. Tidy regelt ja die Autoformatierung neben der Syntaxkontrolle des Quelltextes für Dich wenn Du es in den Optionen angibst.

Ich hoffe ich habe alle richtig gedeutet.
Go to the top of the page
 
+Quote Post
Google Bot
Beitrag
Beitrag #


Google Ads









Go to the top of the page
 
Quote Post

Reply to this topicStart new topic
1 Besucher lesen dieses Thema (Gäste: 1 | Anonyme Besucher: 0)
0 Mitglieder:

 



RSS Vereinfachte Darstellung Aktuelles Datum: 28.04.2024 - 5:35

taschenkalender
expertise-panel IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here