Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/08/2011, 05:44
Henkka
 
Fecha de Ingreso: abril-2008
Ubicación: Santa Fe, Argentina
Mensajes: 41
Antigüedad: 16 años
Puntos: 14
Respuesta: Problema al validar un form en W3C

Cita:
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
Basicamente, se supone que con el DTD Strict los 'controles' (inputs, textareas y demás) de un formulario tengan nombre, pero no el formulario en sí.

Esto se puede ver en la sección Optional Attributes, el atributo name omite la S en la columna DTD.

http://www.w3schools.com/tags/tag_form.asp

En caso de que por alguna razón necesites tener este atributo declarado en el elemento form, vas a tener que cambiar el DTD.