Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/07/2010, 07:54
all-ill
 
Fecha de Ingreso: junio-2002
Mensajes: 750
Antigüedad: 21 años, 10 meses
Puntos: 22
Respuesta: Validación W3C

El propio sistema de validación, en algunos casos, da recomendaciones para solucionar los errores.
No se ha indicado la codificación de caracteres del documento (http://html.conclase.net/w3c/html401-es/charset.html):
Código HTML:
Ver original
  1. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

Todo formulario debe tener un atributo "action" donde se indica el URL al que se enviarán los datos del formulario para ser procesados (http://www.librosweb.es/xhtml/capitu...basicos.html):
Cita:
Line 15, Column 6: required attribute "ACTION" not specified
Line 20, Column 6: required attribute "ACTION" not specified
<form>
No se permite el uso de DIV ("block-level element") dentro de un enlace ("inline element"):
Cita:
Line 26, Column 21: document type does not allow element "DIV" here;
missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag

<div id="columnader">

Line 31, Column 21: document type does not allow element "DIV" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag

<div id="columnaizq">


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>").
Advertencia sobre el modo de cierre de las etiquetas de los elementos html (http://www.librosweb.es/xhtml/capitu...tas_xhtml.html).
Cita:
Line 41, Column 141: NET-enabling start-tag requires SHORTTAG YES
…op: 8px;" src="http://i.creativecommons.org/l/by-nc-nd/3.0/es/88x31.png" /></a>
<img />. Para que no salga esa advertencia puedes reemplazar el DOCTYPE actual por uno XHTML (http://www.librosweb.es/xhtml/capitulo10/doctype.html):
Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2.    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">