Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/09/2009, 16:38
JUMASOL
 
Fecha de Ingreso: noviembre-2005
Mensajes: 889
Antigüedad: 18 años, 5 meses
Puntos: 8
Problema de validación

Hola a todos,

Tengo un problema de validación que no entiendo ni puedo resolver.

Se trata de un elemento dentro de un formulario:

checked onClick="document.formulario.Importe.value=10;">

Me salen siempre errores con este elemento. Así la "o" de onClick sale subrrayada y en rojo, con el siguiente título:

Line 188, Column 144: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified

Y la siguiente leyenda:

"VI delimiter" is a technical term for the equal sign. This error message means that the name of an attribute and the equal sign cannot be omitted when specifying an attribute. A common cause for this error message is the use of "Attribute Minimization" in document types where it is not allowed, in XHTML for instance.

How to fix: For attributes such as compact, checked or selected, do not write e.g <option selected ... but rather <option selected="selected" ...


¿Sabéis algo?

Un saludo y gracias.