W3C home > Mailing lists > Public > www-html@w3.org > June 2000

RE: Valid positioning of script elements

From: Dave J Woolley <DJW@bts.co.uk>
Date: Tue, 6 Jun 2000 11:46:21 +0100
Message-ID: <81E4A2BC03CED111845100104B62AFB58246CF@stagecoach.bts.co.uk>
To: "'www-html@w3.org'" <www-html@w3.org>
> From:	pdf@bizfon.com [SMTP:pdf@bizfon.com]
> 
> The alternative is to write <tr> and <td> elements with
> block-level <script>s inside them, leaving empty rows
> when scripting is unavailable. This does not appeal to
> me aesthetically. :-)
> 
	[DJW:]  The HTML spec says:
HTML documents are constrained to conform to the HTML DTD both before and
	after processing any SCRIPT elements.

	I read that as saying that it is legal to generate
</td></tr><tr><td>more row data</td></tr><tr><td>

	However, my experience of most web sites that generate
	HTML with Javascript is that I get a blank page when I 
	access them (I disable it by default, for security reasons,
	and also out of principle), so speaking as a consumer, I
	would discourage dynamically created content in any form,
	although, as a coder, I have done it so that features that
	only worked with scripting disappear when viewed without
	scripting, the features themselves, being non-negotiable
	requirements. 
Received on Tuesday, 6 June 2000 06:53:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:43 GMT