Autor Zpráva
External
Profil
Nemůžu přijít na to, co dělám špatně, respetive co je nevalidního na tagu </head> a <body>, validator píše tohle:


Line 33, column 6: end tag for element "HEAD" which is not open

</HEAD>

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 34, column 5: document type does not allow element "BODY" here

<BODY>

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).
Hugo
Profil *
Chybi ti pocatectni tag &lt;body&gt;
Hugo
Profil *
Oprava <body>
Anonymní
Profil *
Naopak bych řekla, že přebývá, resp. je umístěn někde, kde být nemá. Co se tagu </head> týká, tak tomu zřejmě chybí počáteční tag <head>. Chtělo by to větší kus toho kódu nebo adresu stránky, potažmo výstupu z validátoru aby se dalo říct přesně co kde jak a proč :-)
Hugo
Profil
Ano chyba, chtel sem napsat <head>, ale vypadlo ze me <body>.

A bude hur ...
T3RMiX
Profil
Taky bych řekl že tam přebývá, to se mi stává často s Dreamweaverem který vytváří sám párové tagy tak některý pak zapomenu :)
Toto téma je uzamčeno. Odpověď nelze zaslat.

0