Ver Mensaje Individual
  #12 (permalink)  
Antiguo 29/03/2012, 21:17
Avatar de Panino5001
Panino5001
Me alejo de Omelas
 
Fecha de Ingreso: mayo-2004
Ubicación: -34.637167,-58.462984
Mensajes: 5.148
Antigüedad: 20 años
Puntos: 834
Respuesta: Consulta sobre sintáxis

Cita:
Iniciado por JairLizcano Ver Mensaje
Me gustaría que validaras (http://validator.w3.org/) este sitio como XHTML 1.0 Strict:

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns = 'http://www.w3.org/1999/xhtml'>
	<head>
		<meta http-equiv = 'Content-Type' content = 'text/html; charset=ISO-8859-1'/>
		<title>
			Título del sitio
		</title>
	</head>
	<body>
		<div id = 'container' class = 'Container'>
			<p>
				Párrafo.
			</p>
		</div>
	</body>
</html> 
Es una regla general, pero... ninguna especificación lo indica como obligatorio.

Buena suerte.
Cierto para xhtml! Mirá vos, toda la vida asumí como cierto lo leído tantas veces: que para xhtml se aplicaba la misma obligatoriedad sintáctica que para xml bien formado: http://www.w3.org/TR/REC-xml/
Me has enseñado algo