Ver Mensaje Individual
  #1 (permalink)  
Antiguo 31/10/2012, 09:17
Avatar de sgardes
sgardes
 
Fecha de Ingreso: octubre-2012
Mensajes: 20
Antigüedad: 11 años, 6 meses
Puntos: 0
Validar php en W3C

Señores, a ver si alguien tiene la respuesta para este problemita. Estuve mirando otros temas en el foro pero no hay respuesta aun.

Al intentar pasar por el w3c el archivo contacto.php me aparecen errores todos relacionados con lo mismo:

1)Warning No Character Encoding Found! Falling back to UTF-8.

2)Unable to Determine Parse Mode! The validator can process documents either as XML.
- No known Document Type could be detected
-No XML declaration (e.g <?xml version="1.0"?>) could be found at the beginning of the document.
-No XML namespace (e.g <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">) could be found at the root of the document.

3)No DOCTYPE found, and unknown root element. Aborting validation.
The DOCTYPE Declaration was not recognized or is missing.

Hay un problema con la linea 1, el doctype. alguien sabe que puede ser?!!??!?!
mis 4 primeras lineas son asi:

1-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2-<html xmlns="http://www.w3.org/1999/xhtml">
3-<head>
4-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

GRACIASSSS

Tambien dejo el link donde esta la pagina contacto.php
[URL="http://www.tenerifeclubrural.com"]Tenerife Casas Rurales[/URL]