Kalle_Worms: Validator rügt Bemerkungszeilen

Beitrag lesen

Hallöle,

habe da eine seite, die wird korrekt dargestellt mit NS 7, IE 5 und FF, aber nicht mit IE 6 und Opera. Deshalb habe ich sie mal durch den Validator geschickt. Was ist hier falsch:

<!-------------------------
    M I T A R B E I T E R
--------------------------->

der Validator findet 3 Fehler:

1. Line 100, column 26: invalid comment declaration: found name character outside comment but inside comment declaration

<!-------------------------
                          ^

2. Line 100, column 0: comment declaration started here

<!-------------------------
^

3. Line 101, column 4: character data is not allowed here

M I T A R B E I T E R
   ^
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).

Verstehe ich nicht, bitte um Aufklärung.

LG Kalle