Visa ett inlägg
Oläst 2006-09-27, 13:03 #5
cezar cezar är inte uppkopplad
Medlem
 
Reg.datum: Apr 2006
Inlägg: 260
cezar cezar är inte uppkopplad
Medlem
 
Reg.datum: Apr 2006
Inlägg: 260
Citat:
Originally posted by Kaffe@Sep 27 2006, 12:54
Lite nyfiken på vad som genererar felmeddelandena nu?

Hur som helst:

Kod:
<link href="stil.css" rel="stylesheet" type="text/css"/>
Skall egentligen vara:
Kod:
<link href="stil.css" rel="stylesheet" type="text/css">
Självslutande element används endast i XHTML.
Ok, ja det är jag med .
Det hjälpte inte att jag tog bort '/'.

Citat:

Error Line 6 column 54: document type does not allow element "LINK" here.
<link href="stil.css" rel="stylesheet" type="text/css">

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).
cezar är inte uppkopplad   Svara med citatSvara med citat