Autor Zpráva
ananasovapasta
Profil *
Ahoj,
chci validovat stránku, lae validátor mi ukazuje informace, které v mé stránce vůbec nejsou :

Ve stránce je :
<td><a href='roles.php' target='content'>Roles</a></td>

Ale validátor hlásí chybu:

# Error Line 24, Column 76: document type does not allow element "A" here

…loyeeform.php' target='content'>+ ADD<a/></td>



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).


tak co s tím ?
Radek9
Profil
ananasovapasta:
Podle údajů, které jste sem zaslal se jedná o dva různé odkazy...
Pokud tedy chcete zvalidnit ten chybový, pak:
…loyeeform.php' target='content'>+ ADD<a/></td> 

Má být
…loyeeform.php' target='content'>+ ADD</a></td> 
ananasovapasta
Profil *
jé :) díky
kozuch
Profil *
neznáte někdo validator, který vám po zvalidování vypíše i zvalidovaný html kód
panther
Profil
kozuch:
neznáte někdo validator, který vám po zvalidování vypíše i zvalidovaný html kód
Ne. K čemu by byl? Jsi líný chyby opravovat? Proč vlastně máš potřebu validovat?

Vaše odpověď


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0