> From: Zoltan Hawryluk [SMTP:zoltan@netcom.ca] > > Is this valid? It seems like it validates with the W3C validator ... but > I > want to make sure that this is 100% the case. [DJW:] It is not valid and it *does not* pass the W3C validator (you could have done this test yourself or deduced it from the spec): Line 5, column 47: <form method=get action="http://www.w3c.org/"> ^ Error: element "FORM" not allowed here; possible cause is an inline element containing a block-level element (explanation... </docs/errors.html>) Line 7, column 6: <td> ^ Error: element "TD" not allowed here; check which elements this element may be contained within (explanation... </docs/errors.html>) Line 12, column 5: </tr> ^ Error: missing a required sub-element of "TR" (explanation... </docs/errors.html>) [DJW:] The actual test a case (which also produces a misisng DOCTYPE warning, because I knew that the validator default would be OK for the rest of the test) is: <html> <title>Test</title> <table> <tr> <form method=get action="http://www.w3c.org/"> <td> <!-- the form is here --> </td> </form> </tr> </table> -- --------------------------- DISCLAIMER --------------------------------- Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of BTS.Received on Wednesday, 4 April 2001 06:33:34 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:49:24 GMT