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

Re: forms need a start tag?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 31 May 2004 15:51:09 +0200
To: "Lysanne Lessard" <lessard@lysanne.net>
Cc: <www-validator@w3.org>
Message-ID: <40bf37db.776198694@smtp.bjoern.hoehrmann.de>

* Lysanne Lessard wrote:
>I am trying to correct this page:
>http://lysanne.net/CVS_CSS/maquette/index.htm
>
>I am getting an error message which I do not understand:
>Line 37, column 60: document type does not allow element "FORM" here;
>missing one of "OBJECT", "MAP" start-tag
><form action="#" method="get" name="langue" id="langue">

A <span> element cannot contain a <form> element. It can contain
<object> and <map> elements which can contain a <form> element,
though this is probably not what you want to do. Also note that
<span> cannot contain <div>.
Received on Monday, 31 May 2004 09:52:13 GMT

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