W3C home > Mailing lists > Public > www-validator@w3.org > May 2005

[VE][65] Error Message Feedback

From: Yanlin Ye <yeyanlin@hotmail.com>
Date: Mon, 30 May 2005 23:15:18 -0400
Message-ID: <BAY106-DAV75760CB0BA9D6AC15B78ACE040@phx.gbl>
To: <www-validator@w3.org>
Hello,

I tried to validate the attached html file by file upload and got the following errors:


  1.. Line 18, column 47: document type does not allow element "INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag

  <input type="hidden" name="project" value="1">

  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>"). 

  ? 

  2.. Line 19, column 56: document type does not allow element "INPUT" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag

  <input type="hidden" name="service" value="Data Input">



However, I cannot figure out what was wrong about my html file.  Could you please help me out on this? 

Thanks,

Yanlin






Received on Tuesday, 31 May 2005 10:39:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:19 GMT