Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/11/2009, 11:36
Avatar de mayid
mayid
Colaborador
 
Fecha de Ingreso: marzo-2009
Ubicación: BsAs
Mensajes: 4.014
Antigüedad: 15 años
Puntos: 101
Respuesta: Errores al validar web

Cita:
Line 11, Column 8: required attribute "type" not specified
<script> ✉
Esto es claro. Tenes que especificar que el script es javascript:

Cita:
<script type="text/javascript">
Cita:
Line 48, Column 24: Attribute "align" exists, but can not be used for this element.
<div align="left">Usuario</div>✉
Esto me parece que esta mal porque el div es una etiqueta de bloque, y align presumo que se usa para etiquetas de linea. Quizas funcionaria con un display:inline , pero yo no recomiendo que uses "align" porque me parece que es un atributo obsoleto.


Cita:
<div align="left">Usuario</div>✉
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Aca te dicen que tu div no puede estar en donde esta porque es de bloque, y esta situado dentro de un elemento de linea (por ejemplo, un enlace o quizas un li). Si lo convirtiera en un elemento de linea iria bien.

Y esto otro:
Cita:
<input type="submit" value="Registrarse">✉

Es porque usas cabecera para xhtml, y por ende necesitas cerrar si o si el input, cosa que no estas haciendo. Agregale una barra.

Cita:
<input type="submit" value="Registrarse" />✉
Espero esto te solucione la mayoria de los problemas.