Foros del Web » Creando para Internet » HTML »

Como validar este error...

Estas en el tema de Como validar este error... en el foro de HTML en Foros del Web. Hola , con el validador de w3c me salta este error nuevo: Error Line 178 column 19: document type does not allow element "DIV" here; ...
  #1 (permalink)  
Antiguo 08/12/2005, 21:16
 
Fecha de Ingreso: julio-2005
Mensajes: 58
Antigüedad: 18 años, 9 meses
Puntos: 0
Como validar este error...

Hola , con el validador de w3c me salta este error nuevo:

Error Line 178 column 19: document type does not allow element "DIV" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag.
<div align="center"><strong><b><font color="#FF0000">LINKS RECOMENDADOS</font></
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

como lo soluciono ya q no entiendo q pide... gracias!
  #2 (permalink)  
Antiguo 13/12/2005, 13:31
 
Fecha de Ingreso: julio-2005
Mensajes: 58
Antigüedad: 18 años, 9 meses
Puntos: 0
Hola!

alguien q sepa validar???
el codigo q me salta como mal es un include. y no tiene las etiquetas html.

saludos
  #3 (permalink)  
Antiguo 13/12/2005, 16:29
Avatar de DvD AdN  
Fecha de Ingreso: mayo-2005
Ubicación: Frente al monitor
Mensajes: 610
Antigüedad: 18 años, 11 meses
Puntos: 0
Cita:
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Dice que la causa posible del error sea que pusiste un elemento block (como <p> <div> etc) dentro de uno inline (<font>, <span>)

Dice que el elemento que pusiste no esta autorizado para estar en el contexto en el que esta.
__________________
Keep f***ing learning
Ask for f***ing help.
Use f***ing spell check.
Think about all the f***ing possibilities.
  #4 (permalink)  
Antiguo 13/12/2005, 16:32
Avatar de DvD AdN  
Fecha de Ingreso: mayo-2005
Ubicación: Frente al monitor
Mensajes: 610
Antigüedad: 18 años, 11 meses
Puntos: 0
Creo que talvez si pones
<font color="#FF0000"><strong>LINKS RECOMENDADOS</strong></font>


Revisa que etiquetas estan antes del <div>, tal vez olvidaste cerrar una o esta mal anidadas.
__________________
Keep f***ing learning
Ask for f***ing help.
Use f***ing spell check.
Think about all the f***ing possibilities.
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 20:55.