Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/07/2007, 14:42
okram
Invitado
 
Mensajes: n/a
Puntos:
Re: Bloquear/Deshabilitar/Desactivar un campo Input type=text sin usar Disabled

Cierto, pase por alto ese detalle. Aqui lo que el validador devuelve:

Cita:
Iniciado por validator.w3.org
Error Line 32 column 82: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified.

... value="Valor por default" readonly />

"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" ...
Gracias por la correccion

Un saludo,