Foros del Web » Creando para Internet » HTML »

Validacion W3C de un formulario

Estas en el tema de Validacion W3C de un formulario en el foro de HTML en Foros del Web. El siguiente formulario no me valida en la w3c con una cabecera XHTML 1.0 Strict y la verdad no tengo idea porque, pueden darme una ...
  #1 (permalink)  
Antiguo 30/01/2007, 11:02
Avatar de Nemutagk
Colaborador
 
Fecha de Ingreso: marzo-2004
Ubicación: México
Mensajes: 2.633
Antigüedad: 20 años
Puntos: 406
Validacion W3C de un formulario

El siguiente formulario no me valida en la w3c con una cabecera XHTML 1.0 Strict y la verdad no tengo idea porque, pueden darme una mano

Error Line 70 column 30: there is no attribute "name".

<form id="add_coment" name="add_coment" method="post" action="add_coment_dos.

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).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

ya le busque y no encuentro el problema, la url es http://nemutagk.no-ip.org/index/load_post.php?id=2 por si quieren checar el codigo fuente
__________________
Listo?, tendría que tener 60 puntos menos de IQ para considerarme listo!!!
-- Sheldon Cooper
http://twitter.com/nemutagk
PD: No contestaré temas vía mensaje personal =)
  #2 (permalink)  
Antiguo 30/01/2007, 11:09
Avatar de JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 2 meses
Puntos: 772
Re: Validacion W3C de un formulario

Hola Nemutagk

XHTML 1.0 Strict no acepta ela tributo name. Quitaselo y debería validarte sin problemas.

Saludos,
  #3 (permalink)  
Antiguo 30/01/2007, 11:13
Avatar de Nemutagk
Colaborador
 
Fecha de Ingreso: marzo-2004
Ubicación: México
Mensajes: 2.633
Antigüedad: 20 años
Puntos: 406
Re: Validacion W3C de un formulario

Orale, como siempre dando en el clavo JavierB, no sabia que para XHTML 1.0 Strict a quedado obsoleto la propiedad name de un form , pero bueno, ahora ya valida completamente, te agradesco mucho
__________________
Listo?, tendría que tener 60 puntos menos de IQ para considerarme listo!!!
-- Sheldon Cooper
http://twitter.com/nemutagk
PD: No contestaré temas vía mensaje personal =)
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 11:08.