Foros del Web » Creando para Internet » HTML »

validar unos errores xhtml

Estas en el tema de validar unos errores xhtml en el foro de HTML en Foros del Web. Podriais orientarme acerca de estos errores a la hora de validar, mi ingles no es muy bueno. Ya he conseguido solucionar el resto pero estos ...
  #1 (permalink)  
Antiguo 27/03/2005, 15:58
Avatar de FLECHA  
Fecha de Ingreso: mayo-2003
Ubicación: Mi casa
Mensajes: 409
Antigüedad: 14 años, 6 meses
Puntos: 1
validar unos errores xhtml

Podriais orientarme acerca de estos errores a la hora de validar, mi ingles no es muy bueno. Ya he conseguido solucionar el resto pero estos se me resisten.

Gracias de antemano.

Line 5, column 40: character data is not allowed here

content="text/html; charset=iso-8859-1"/>

You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).



Line 27, column 11: there is no attribute "SRC"

<embed src="abril2005.swf" width="730" height="450"

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.



Line 27, column 33: there is no attribute "WIDTH"

<embed src="abril2005.swf" width="730" height="450"



Line 27, column 46: there is no attribute "HEIGHT"

<embed src="abril2005.swf" width="730" height="450"



Line 28, column 8: there is no attribute "QUALITY"

quality="high"/><br />



Line 28, column 14: element "EMBED" undefined

quality="high"/><br />

You have used the element named above in your document, but the document type you are using does not define an element of that name. 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 "Frameset" document type to get the "<frameset>" element), or by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
  #2 (permalink)  
Antiguo 27/03/2005, 16:11
 
Fecha de Ingreso: junio-2004
Ubicación: Barcelona
Mensajes: 107
Antigüedad: 13 años, 5 meses
Puntos: 2
Hola.
Primero, la etiqueta embed en XHTML no es valida...tienes k substituirla por Object.
Y en el content...prueba a dejar un espeacion para que kede
content="text/html; charset=iso-8859-1" />. Creo k asi.
  #3 (permalink)  
Antiguo 28/03/2005, 14:08
Avatar de FLECHA  
Fecha de Ingreso: mayo-2003
Ubicación: Mi casa
Mensajes: 409
Antigüedad: 14 años, 6 meses
Puntos: 1
Gracias Bilka por tu ayuda.

Ya está todo corregido y ok.
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 21:39.