W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2001

RE: <td><form></td>

From: Fred Bone <Fred.Bone@dial.pipex.com>
Date: Fri, 2 Feb 2001 15:47:43 -0000
To: html-tidy@w3.org
Message-ID: <3A7AD69F.18169.553D012@localhost>
On 2 Feb 2001, at 9:22, Bischoff, Alex wrote: 

> > I know everyone has run into bad HTML as:
> > <td><form></td> before.... and I'm running into it on a site I need to
> clean up.  
> > What I want to do is basically delete the <td> and </td> as it makes no
> sense.  
> This page (http://www.htmlhelp.com/reference/wilbur/table/td.html) indicates
> that <FORM> is valid within <TD> tags.. Is that not correct, or am I just
> missing something?

It's only valid if the matching </form> appears before the </td> 

That is, you can have  <td> ... <form> ... </form> ... </td> or  
<form> ... <table> ... </table> ... </form> but not  <td> ... <form> 
... </td> ... </form> which is commonly found as a way to get forms 
to "look right". 

This last, I assume, is what the original requester is trying to 
clean up. 
Received on Friday, 2 February 2001 10:49:16 GMT

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