Autor Zpráva
dejvo01
Profil *
Dobrý deň. Mohol by mi niekto pomôcť? Pri skúške o zvalidovanie môjho webu mi vyhodí tieto problémy http://validator.w3.org/check?url=http%3A%2F%2Fwww.misstn.sk , zaujíma ma iba ten prvý čo to je a ako sa to dá opraviť? Prerábal som stránky v Dreamweaveri a mám ich ako templates a keď som ukladal stránku tak som priradil "doctitle k head" ---> neviem čo to znamená. Diki za odpovede

Komu sa nechce odkazovať na stránku tu je ten problém:
Line 397 column 6: document type does not allow element "TITLE" here.
<title>Miss Internet Trenčín 2006, zvoľte t&uacute;spr&aacute;vnu...<
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).
Chamurappi
Profil
Říká ti, že máš druhý <title> na řádku 397. Myslí si, že by v <head> měl býti jen jeden, tak také praví odkazovaná DTD.
Ve skutečnosti tvůj kód problémy nikdy nezpůsobí. Platí vždy první <title>, který se najde.
dejvo01
Profil *
Aha tak diki moc za radu...
Toto téma je uzamčeno. Odpověď nelze zaslat.

0