Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/05/2011, 01:34
Avatar de sergi_multimedia
sergi_multimedia
 
Fecha de Ingreso: noviembre-2010
Mensajes: 213
Antigüedad: 13 años, 5 meses
Puntos: 4
Pregunta Error de codigo

Hola gente, quería hacer una pregunta, estoy poniendo el siguiente código (buscador atomz) pero me da error de código, y no encuentro el error o no entiendo muy bien el mensaje de W3C.
Código HTML:
Ver original
  1. <div id="buscador">
  2. <form method="get" action="http://search.atomz.com/search/">
  3. <input type="hidden" name="sp_a" value="sp1004923e" />
  4. <input size="15" name="sp_q" />
  5. <input type="submit" value="Buscar" />
  6. <input type="hidden" name="sp_p" value="all" />
  7. <input type="hidden" name="sp_f" value="UTF-8" />
  8. </form>
  9. </div>

ERROR W3C en cada una de las líneas de <input>

Line 47, Column 54: 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="hidden" name="sp_a" value="sp1004923e" />

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").


Mi Doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


Gracias de antemano!