Ver Mensaje Individual
  #9 (permalink)  
Antiguo 29/03/2012, 14:38
Avatar de JairLizcano
JairLizcano
 
Fecha de Ingreso: junio-2008
Ubicación: Santander, Colombia
Mensajes: 608
Antigüedad: 15 años, 11 meses
Puntos: 53
Exclamación Respuesta: Consulta sobre sintáxis

Cita:
Cualquier especificación xhtml (o xml) te dirá que los valores de atributos van entre comillas dobles obligatoriamente.
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.
__________________
Programar dejó de ser una profesión acusada en la oscuridad y disfrutada fríamente... para convertirse en un arte.