W3C home > Mailing lists > Public > www-validator@w3.org > January 2007

Re: Form Error

From: Karl Dubost <karl@w3.org>
Date: Fri, 12 Jan 2007 15:59:24 +0900
Message-Id: <3147D657-8CF7-49A7-9329-F94D31ACB048@w3.org>
Cc: www-validator@w3.org
To: "Billy Wan" <soba.yaki@gmail.com>

Le 12 janv. 2007 à 09:50, Billy Wan a écrit :
> I have used the W3C Validator and it keeps saying this error:
> "document type does not allow element "FORM" here; missing one of  
> "APPLET", "OBJECT", "MAP", "IFRAME" start-tag ."
> Right now, I have set the DTD to be HTML 4.01 Transitional, at  
> least that's what I think it is supposed to be because it gives the  
> less errors. Anyway, I am not sure why it keeps giving me that. The  
> HTML code is actually generated by a separate PHP script for a poll  
> that I downloaded. Is there a way to fix this?

Without more references, it's difficult to say what to fix?
Could you share the link to the pages or at least the surrounding codes?
If you have access to the piece of PHP scripts so yes you can modify  
the script so it will generate valid code.

Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***
Received on Friday, 12 January 2007 06:59:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:59 UTC