W3C home > Mailing lists > Public > www-html@w3.org > April 2001

RE: HTML/XHTML: issues with tables and forms.

From: Dave J Woolley <david.woolley@bts.co.uk>
Date: Wed, 4 Apr 2001 11:33:22 +0100
Message-ID: <81E4A2BC03CED111845100104B62AFB50102A5EA@STAGECOACH>
To: "'www-html@w3.org'" <www-html@w3.org>
> 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.
	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: 
Error: element "TD" not allowed here; check which elements this element may
be contained within (explanation... </docs/errors.html>)
Line 12, column 5: 
Error: missing a required sub-element of "TR" (explanation...

[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:

		<form method=get action="http://www.w3c.org/">


				<!-- the form is here -->

--------------------------- 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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:56 UTC