Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/01/2008, 09:47
Avatar de ceaped
ceaped
 
Fecha de Ingreso: febrero-2004
Mensajes: 2.185
Antigüedad: 20 años, 2 meses
Puntos: 9
Pregunta No me valida W3C php pero si html

Buenos días para todos.

Cuando yo cambio mi html por php no me valida y me salen estos errores:
Cita:
Line 65, Column 2: "DOCTYPE" declaration not allowed in instance.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or

-----------------------------------------
Line 66, Column 42: document type does not allow element "html" here.

<html xmlns="http://www.w3.org/1999/xhtml">

-----------------------------------------

Line 65, Column 1: XML Parsing Error: StartTag: invalid element name.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.or
Supuesta mente la línea a la que hace referencia (66) es donde esta el php
Y esto es la línea en cuestión:

Cita:
<? include("archivo.php"); ?>
Porque no me deja validar?
Gracias por su ayuda
__________________
Diseñador Gráfico publicitario