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

Re: cannot locate the error

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 01 May 2005 22:35:46 +0200
To: Albert Chang <albert.chang@comcast.net>
Cc: www-validator@w3.org
Message-ID: <42793d78.85010750@smtp.bjoern.hoehrmann.de>

* Albert Chang wrote:
>I'm trying to make all of my markups valid.  However, xhtml and all the 
>other markups are very limited.  So I am writing through php.  I 
>validated and got 1 error:

XHTML 1.1 does not allow <input> elements as children of a <form>
element. Enclose the input element in some element that is allowed
in <form>, e.g. <form><div><input>... should work.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Sunday, 1 May 2005 20:35:14 GMT

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