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

Re: XHTML 1 Strict , element "input" not allowed here

From: Liam Quinn <liam@htmlhelp.com>
Date: Mon, 14 May 2001 23:06:53 -0400 (EDT)
To: lists <lists@lophty.com>
cc: <www-validator@w3.org>
Message-ID: <Pine.LNX.4.30.0105142305150.1992-100000@localhost.localdomain>
On Mon, 14 May 2001, lists wrote:

> Trying to get a site of mine to validate against the xhtml1 strict dtd.
> Only one error remains - an input element inside of a form gives me the
> following error msg:
> Error: element "input" not allowed here; possible cause is an inline element
> containing a block-level element

In XHTML 1.0 Strict, like HTML 4 Strict, "form" must contain a block-level
element such as "p", "div", etc.  So put the "input" element inside a "p"
or "div".

Liam Quinn
Received on Monday, 14 May 2001 23:05:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:29 UTC