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

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 UTC