W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

RE: Bug Report

From: Jelks Cabaniss <jelks@jelks.nu>
Date: Wed, 11 Oct 2000 23:19:50 -0400
To: <html-tidy@w3.org>
Message-ID: <NBBBICMNIPCICMKJECCBOEPCDNAA.jelks@jelks.nu>
Arne Strauss wrote:

> Someone gave me a HTML file with some correct <input> tags in it. Netscape
> did not display the input controls. tidy.exe did not report anything's
> wrong. Then I noticed that the input controls are not embraced by <form>
> tags!
>
> Shouldn't tidy warn about "lonely" <input> tags?

No, the problem is Netscape versions 4.x and prior.  If you look at the
[x]XHTML DTDs, you'll see that INPUT, SELECT, TEXTAREA, LABEL, and BUTTON
can appear inline and do not have to be in a FORM.  Internet Explorer,
Opera, and Netscape 6 preview get it right.


/Jelks
Received on Wednesday, 11 October 2000 23:24:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT