Foros del Web » Creando para Internet » HTML »

Errores w3c

Estas en el tema de Errores w3c en el foro de HTML en Foros del Web. Haber si me pueden ayudar a corregir estos errores ke no se ke les pasa.. Código: Error Line 8 column 86: invalid comment declaration: found ...
  #1 (permalink)  
Antiguo 18/04/2007, 10:06
 
Fecha de Ingreso: diciembre-2004
Mensajes: 371
Antigüedad: 19 años, 3 meses
Puntos: 0
Errores w3c

Haber si me pueden ayudar a corregir estos errores ke no se ke les pasa..

Código:
Error Line 8 column 86: invalid comment declaration: found name start character outside comment but inside comment declaration.
...="text/css">  <!-------------------- para poder escribir en los option-------

✉ 
Info Line 8 column 63: comment declaration started here.
..." rel="stylesheet" type="text/css">  <!-------------------- para poder escrib
Error Line 9 column 68: document type does not allow element "LINK" here.
...alogsStyles.css" rel="stylesheet" type="text/css">

The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed). 

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error). 

✉ 
Error Line 41 column 6: end tag for element "HEAD" which is not open.
</head>

The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem. 

If this error occured in a script section of your document, you should probably read this FAQ entry. 

✉ 
Error Line 42 column 23: document type does not allow element "BODY" here.
<body bgcolor="#C0C0C0">
  #2 (permalink)  
Antiguo 18/04/2007, 10:21
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: Errores w3c

Hola yaviz

Prueba sin poner guiones dentro de los comentarios. Ponlo, por ejemplo así:

Código:
<!-- ******* para poder escribir ***** -->
Cambia también la etiqueta body:

Código:
<body style="background:#C0C0C0">
Saludos,
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 06:15.