Den logiske var så ????
Følgende fejlmeddelser får jeg når jeg validere mit html kode, jeg kan ikke umiddelbart lure hvorfor jeg ikke må anvende Span tagget:Fejlmed.:
Below are the results of attempting to parse this document with an SGML parser.
Line 74, column 116:
... \" alt=\"Klinisk Tandtekniker - Linda Weiler Larsen\">
^
Error: element \"IMG\" not allowed here; check which elements this element may be contained within (explanation...)
Line 76, column 22:
<Span id=\"logo-top1\">Tandpr<Span id=\"t-afstand\">oTe</Span>tikeren</S ...
^
Error: element \"SPAN\" not allowed here; check which elements this element may be contained within (explanation...)
Line 78, column 22:
<Span id=\"logo-top2\">®</Span>
^
Error: element \"SPAN\" not allowed here; check which elements this element may be contained within (explanation...)
Line 80, column 25:
... <Span class=\"logo-top3\">Klinisk tandtekniker Linda Weiler ...
^
Error: element \"SPAN\" not allowed here; check which elements this element may be contained within (explanation...)
Line 86, column 6:
</Body>
^
Error: end tag for element \"BODY\" which is not open; try removing the end tag or check for improper nesting of elements (explanation...)
Line 89, column 6:
</Html>
^
Error: missing a required sub-element of \"HTML\" (explanation...)
Filen ser sådan ud:
<Img src=\"./grafik/lwl.jpg\" id=\"linda-top\" width=\"65\" height=\"86\" alt=\"Klinisk Tandtekniker - Linda Weiler Larsen\">
<Span id=\"logo-top1\">Tand<Span id=\"t-afstand\">Te</Span>keren</Span>
<Span id=\"logo-top2\">®</Span>
<Span class=\"logo-top3\">Klinisk tandtekniker</Span>
Det er selvfølgelig omgivet af både body og html tagget, men hvorfor disse fejl ?????
