Ver Mensaje Individual
  #17 (permalink)  
Antiguo 23/12/2010, 21:57
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 9 meses
Puntos: 1567
Respuesta: Pasar de HTML a XHTML

Cita:
Iniciado por marcelo1043 Ver Mensaje
Lo único que hice fue convertirlo con un software on line.
Ni le pasé el validador. Gracias ya me pongo con ello a corregirlo.
Lo cierto es que la web carga más rápido.

Va a ser cierto que los convertidores de HTMLa XHTML no sirven para nada.
Hombre, tienes una gran confusión, la herramienta que te mencioné, limpia tu código de tal manera que de 137 errorres pasa a tener solo 9

Result: 9 errors / 0 warnings

line 12 column 6 - Error: document type does not allow element "title" here
line 67 column 11 - Error: there is no attribute "src"
line 67 column 83 - Error: there is no attribute "type"
line 67 column 133 - Error: there is no attribute "allowscriptaccess"
line 68 column 16 - Error: there is no attribute "allowfullscreen"
line 68 column 29 - Error: there is no attribute "width"
line 68 column 42 - Error: there is no attribute "height"
line 68 column 49 - Error: element "embed" undefined
line 401 column 70 - Error: there is no attribute "alt"




Que en una página pongas esto

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>Html 4.01 Transitional</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
</HEAD>
<BODY>
<p>Hola</p>
<!-- y todo el código que se te ocurra -->
</BODY>


o esto


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Html 4.01 Transitional</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<p>Hola</p>
<!-- y todo el código que se te ocurra -->
</body>
</html>

u esto


<html>
<head>
<title>Html 4.01 Transitional</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<p>Hola</p>
<!-- y todo el código que se te ocurra -->
</body>
</html>

no va a hacer que tu página cargue más o menos rápido

Saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.