HTML - validacion

 
Vista:

validacion

Publicado por soFila (4 intervenciones) el 21/04/2009 17:44:32
Cuando valido la siguiente pagina en la W3C me salen errores que no entiendo a que se deben y como arreglarlos...adjunto pagina y errores...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="title" content="Distribuidora Artículos Librería" />
<meta name="author" content="Vanesa Mottura" />
<meta name="subject" content="Venta insumos libreria" />
<meta name="rating" content="Mayorista-minoritsta de insumos libreria" />
<meta name="description" content="página para consultar artículos a la venta y contactarse con la distribuidora" />
<meta name="abstract" content="página para consultar artículos de librería" />
<meta name="keywords" content="distribuidora,articulos,libreria,rosario,santa fe,argentina" />
<meta name="language" content="sp" />
<meta name="robots" content="all" />
<title>Distribuidora Dique</title>
<link href="CSS/div.css" rel="stylesheet" type="text/css" />
<link rel="icon" type="image/png" href="imagenes/dise/icono.png" />
<!--[if IE]>
<link rel="stylesheet" href="CSS/iE.css" type="text/css" />
<link rel="icon" type="image/png" href="imagenes/dise/icono.png" />
<![endif]-->
<script type="text/javascript" src="validacion.js"></script>
</head>
<body>
<div id="encabezado">
<div id="logo" >
<img src="imagenes/dise/logo_probar.png" alt="" name="logo" width="437" height="120" align="middle"/> </div>
<div id="ingreso">
<form name="login" id="login" method="post" action="logueo.php" onsubmit="return validarUsu()" >
<table>
<tr><th><span class="Estilo11">Acceso Solo Administrador</span></th></tr>
<tr><td><label><span class="Estilo11">Usuario</span></label></td>
<td><input type="text" name="usuario"/></td> </tr>
<tr><td><label><span class="Estilo11">Contraseña</span> </label></td>
<td><input type="password" name="contraseña"/></td></tr>
</table>
<div align="center"> <input name="submit" type="submit" value="Enviar"/></div>
</form></div></div>
<div id="navegación"><a href="index.php">Inicio</a>/Página Principal</div>
<ul class="empresa">
<li><h3>Nuestra Empresa</h3></li>
<li><a href="quien.php">Quiénes Somos</a></li>
<li><a href="contactar.php">Contáctenos</a></li>
<li><a href="comprar.php">Cómo Comprar</a></li>
<li><a href="mapa.php">Mapa del Sitio</a></li></ul>
<ul class="buscar">
<li><form class="form-buscar" name="fbuscar" id="fbuscar" action="listadoproduc.php" method="post">
<table>
<tr><td><p class="Estilo11">BUSCADOR</p></td></tr>
<tr><td><input type="text" name="acota" id="acota" alt=""/></td><td><input type="submit" id="buscar" value="Buscar"/></td></tr>
</table></form></li></ul>
<div class="contenido">
<table class="tablaProd">
<tr>
<td><img src="imagenes/cartucho.jpg" width="125" height="124" alt="No hay imagen disponible"/></td>
<td ><img src="imagenes/autorA4.jpg" width="125" height="120" align="middle" alt="No hay imagen disponible"/></td>
</tr>
<tr>
<td ><span class="Estilo14">Cartucho HP 21 de color negro. Para impresora
HP Deskjet 3940,3920 Printers, HP PSC 1400</span></td>
<td ><span class="Estilo14">Resma Autor por 500 hojas de 80 gr/m2. Tamaño A4(210x290). Para impresora multifunción </span></td>
</tr>
<tr>
<td><div class="Estilo16">$58,92</div></td>
<td><div class="Estilo17">$15,33</div></td>
</tr>
<tr>
<td ><img src="imagenes/bibliorato.jpg" width="125" height="120" alt="No hay imagen disponible"/></td>
<td ><img src="imagenes/marcador.jpg" width="125" height="120" alt="No hay imagen disponible"/></td>
</tr>
<tr>
<td ><span class="Estilo14">Bibliorato oficio, forrado negro. Palanca alta, 75 mm.</span> </td>
<td ><span class="Estilo14">Marcador Edding retráctil para pizarra E12. Con trazo de 1,5 a 3mm. Tinta al alcohol, apta para borrado en seco. Color negro. Por unidad. </span></td>
</tr>
<tr>
<td><div class="Estilo17">$13,18</div></td>
<td><div class="Estilo17">$14,02</div></td>
</tr>
</table>
</div>
<div class="piepagina"> Distribuidora Dique - Córdoba 5369 - Rosario Santa Fe Argentina<br/>
Tel/Fax 054 341 449-0618 (rotativas) e-mail: <a href="mailto:[email protected]"> [email protected]</a> </div></body></html>

Validation Output: 2 Errors
1. Error Line 200, Column 78: document type does not allow element "script" here
…p://analytics.hosting24.com/count.php"></script>
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).
2. Error Line 201, Column 10: document type does not allow element "noscript" here
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting
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).
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
sin imagen de perfil

RE:validacion

Publicado por apis (20 intervenciones) el 25/04/2009 17:55:14
Hola! yo hace poco valide mi pagina y vi errores mas o menos parecidos, asi que lo que hice fue ver el codigo fuente directamente desde el navegador y vi que el hosting al final del codigo que yo pusiera agrega unas lineas de codigo que son parecidas a las que tu tienes, y como las agrega al final pues las agrega despues del </html> me imagino que por eso son los errores que te marca ya no me puse a ver y probar soluciones porque al codigo fuente de la pagina del navegador lo copie y valide solo codigo quite las lineas que agrega el hosting y fue validada correctamente, lo unico que se me ocurre pero que no probe fue que mi codigo no incluyera el </html> asi las lineas del hosting no estarian fuera de lugar pero no se que tal funcione
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:validacion

Publicado por soFila (4 intervenciones) el 25/04/2009 18:25:05
Si efectivamente es eso lo que pasa, agrega despues de </html> y por eso no pasa la validacion del w3c...pero sin este codigo si lo hace....gracias!!
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar