Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/09/2010, 06:19
Moule
 
Fecha de Ingreso: mayo-2010
Mensajes: 21
Antigüedad: 14 años
Puntos: 1
problemas al validar este código estúpido

Código:
<!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" xml:lang="en" lang="en"> 
<head>
	<title> Pruebaenesima </title>
</head>
<body>
	<form action="" method="post">
		<label for="prueba">Prueba:</label>
		<input type="text" name="prueba" id="prueba" size="20"/>
	</form>
</body>
</html>
Bueno, este código estúpido no me deja validarlo. Ojo al dato:

Line 9, Column 58: document type does not allow element "input" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
<input type="text" name="prueba" id="prueba" size="20"/>

y

Line 8, Column 22: document type does not allow element "label" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag
<label for="prueba">Prueba:</label>

¿Alguien sabe a que viene esta chorrada? Como no voy a poder poner un label y un input en un formulario...