Re: Form Error

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